<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[The SoapBox Tech Blog - Medium]]></title>
        <description><![CDATA[Learn about SoapBox’s speech recognition for kids, with blogs from our Engineering, Speech Technology, and Product teams. - Medium]]></description>
        <link>https://medium.com/the-soapbox-tech-blog?source=rss----239e83a35aa9---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>The SoapBox Tech Blog - Medium</title>
            <link>https://medium.com/the-soapbox-tech-blog?source=rss----239e83a35aa9---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:45:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/the-soapbox-tech-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Our new Spanish voice engine is the next step in bilingual-friendly voice AI for kids]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/our-new-spanish-voice-engine-is-next-to-bilingual-freindly-voice-ai-for-kids-b7cb2efa609c?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7cb2efa609c</guid>
            <category><![CDATA[language-learning]]></category>
            <category><![CDATA[spanish-language]]></category>
            <category><![CDATA[bilingualism]]></category>
            <category><![CDATA[bilingual-education]]></category>
            <category><![CDATA[voice-engine]]></category>
            <dc:creator><![CDATA[SoapBox]]></dc:creator>
            <pubDate>Mon, 09 Oct 2023 17:01:40 GMT</pubDate>
            <atom:updated>2024-05-09T12:03:37.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwfLoGrjxQAivLYuZfqhvQ.jpeg" /></figure><p><em>This blog was originally </em><a href="https://www.soapboxlabs.com/blog/soapbox-spanish-voice-engine-as-next-step-to-bilingual-friendly-speech-tech/"><em>published</em></a><em> at soapboxlabs.com.</em></p><h3>Introduction</h3><p>A young girl who speaks Spanish at home and English at school is asked to translate for her parents around town. She is required to switch between the two languages, depending on the social context and is asked to develop interpersonal skills beyond her age. Yet she’s often judged for having an accent in both languages.</p><p>A boy grows up speaking mostly English and Spanish at home. At school he’s only allowed to speak English. He pushes himself to speak Spanish with his grandmother, embarrassed by the rift between his identity and the language he feels he’s supposed to speak perfectly.</p><p>Bilingual kids are often asked to bifurcate their identities and their languages, and their success is often predicated in schools by their ability to do so. Not only do they continue to be <a href="https://experts.arizona.edu/en/publications/language-assessment-of-latino-english-learning-children-a-records">misdiagnosed</a> for <a href="https://pubs.asha.org/doi/10.1044/2021_JSLHR-21-00008">language development</a> issues, but treated monolingually in a language that is not spoken at home, such as English, they <a href="https://journals.sagepub.com/doi/10.1177/0271121420906469">risk falling behind in literacy</a>. This is where a voice engine, like the one we’ve developed here at SoapBox, has a role to play.</p><p>SoapBox’s voice engine has been helping teachers and parents measure a child’s phonemic awareness and development in English for several years. These measurements directly impact a child’s <a href="https://medium.com/the-soapbox-tech-blog/can-speech-recognition-technology-help-children-learn-to-read-705518b5fb25">literacy development</a> and help diagnose early speech-sound disorders. Now, with <a href="https://www.soapboxlabs.com/blog/gatesfoundation-funding-announcement/">new funding</a> from the Bill &amp; Melinda Gates Foundation we’re building this engine for Spanish as well. Spanish is the <a href="https://myclasstracks.com/how-many-people-speak-spanish-in-the-us/">second most spoken</a> language in the US overall and the most spoken language among <a href="https://www2.ed.gov/datastory/el-characteristics/index.html#one">English learners</a> in US schools. For SoapBox, this Spanish engine is the next step in delivering equitable speech tech, as it will allow more kids to be assessed in the language they use at home.</p><p>In order to <a href="https://medium.com/the-soapbox-tech-blog/lessons-from-our-voice-engine-4-7269aabb963f">mitigate bias</a> in speech recognition, we must first ask, what is a “valid” way to speak, and who gets to decide? The process starts with diverse training data. The data you feed the model is the language you legitimize, because the people who speak that language will be able to use your technology more effectively than others. SoapBox already commits to incorporating a range of dialects in an effort to mitigate bias. Developing a Spanish language voice engine, allows us to extend our mission to make the voice AI as equitable as possible.</p><p>Another example of where it’s important to be able to assess a child in the language they speak at home is in relation to early dyslexia screening. In <a href="https://info.lexplore.com/en/support/what-is-a-ran-test">RAN (rapid automatized naming) tests</a>, a child might be asked to name what they see as quickly as possible. Language specific vocabulary is not what’s being measured here, so giving kids the option to respond in their dominant language yields more prompt responses and more accurate results. And, as a result, less false positives in dyslexia screenings.</p><p>While the foundation of speech recognition software is monolingual; that is, it expects people to be speaking one language at a time, the SoapBox voice engine has been built with the flexibility to incorporate Spanish words and phrases, as custom words for example. That said, processing of bilingual data by most automatic speech recognition (ASR) systems is still found to be unreliable.</p><p>What do we mean when we say bilingual data? A popular example is code-switching. An example of phrase-level code-switching is the sentence “Tengo que caminar a escuela pero it’s raining so hard!”</p><p>Code-switching can happen at different linguistic levels, for instance at the word level (single word inserts), or at the grammatical level (ex: adding a Spanish verb stem to an English verb). Bilingual speech also means phonemic flexibility; pronunciations that are distinct for monolinguals are continuous and interchangeable for bilinguals. Training data that reflects these features will go a long way to mitigating bias in voice technology. On a larger scale, this can help <a href="https://www.pewresearch.org/short-reads/2018/04/02/most-hispanic-parents-speak-spanish-to-their-children-but-this-is-less-the-case-in-later-immigrant-generations/">support the status</a> of bilingual speech that is often invalidated or unacknowledged. SoapBox technology in English and Spanish will support bilingual learners by allowing custom words that cover colloquial pronunciations, and enabling custom language modeling that covers any variety of language structure.</p><p>To better understand the importance of this in voice AI, let’s first dispel some myths…</p><h3>Myth 1: A bilingual is two monolinguals in one</h3><p>A common misconception is that bilinguals are equally proficient in both of their languages, or have a UN-interpreter capacity to translate between them, or to read, write, and speak fluently across contexts. The premise of this is a misunderstanding of how language, culture, and society interact. That is, people often use and learn different languages in different contexts. A basic example is speaking one language at home and another at school; this can separate language use into two domains where, for instance, kitchen words are in the home language and academic words are in the school language.</p><p>So, bilinguals aren’t two monolinguals in one brain. Instead, they have a multidimensional linguistic repertoire. The <a href="https://psycnet.apa.org/record/2009-12403-001">Bilingual Dominance Scale</a>, pictured below, approaches the idea of language dominance through a combination of use and proficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/0*xpHriw9QKkbqAYGb.png" /><figcaption><em>A way to map language dominance, adapted from</em> <br><a href="https://www.wiley.com/en-au/The+Listening+Bilingual:+Speech+Perception,+Comprehension,+and+Bilingualism-p-9781118835722">The Listening Bilingual</a><em> (Grosjean and Byers-Heinlein)</em></figcaption></figure><p>People frequently switch between “language modes,” when they only activate certain languages to communicate. This creates the illusion that they’re two monolinguals in one. However, assessing kids this way lets them fall through the cracks and isn’t reflective of how bilinguals communicate with each other.</p><p>Assuming that a child is equally dominant in both languages–and thus treating their two language selves as distinct–can remove their ability to fully express themselves. Not only that, but measuring a child monolingually is simply inaccurate.</p><p>Language modes are also harmful because they’re imposed systemically. Let’s take the case where a child in the US speaks Spanish and English at home, but only English in school. The child is learning that it is their job, as a minority or heritage language speaker, to accommodate for the dominant language and culture. The implications go beyond this child learning how and when to mode-switch — <a href="https://www.wiley.com/en-au/The+Listening+Bilingual:+Speech+Perception,+Comprehension,+and+Bilingualism-p-9781118835722">languages remaining inactive</a> because of forced modes related to loss of heritage languages.</p><h3>Myth 2: Code-switching as malpractice</h3><p>When people say that code-switching muddies a “purer” form of language they are reinforcing a lot of misconceptions around how language functions. The first points to the keystone of descriptive linguistics: language is alive, evolving, and simply works how people use it.</p><p>To that end, even everyday monolingual language includes borrowed words — words that come from other languages and have integrated into the one you’re speaking. At one point, though, these would have been instances of code-switching. There are many culinary examples: English didn’t use to have a separate word for cow-that-is-the-animal and cow-that-is-the-meat; the word beef was borrowed from the Normans.</p><p>What code-switching naysayers should understand is that language is systematic and so is its evolution. Dialectal changes emerge and pattern out, sifting through social circles and observing or creating various linguistic restraints.</p><p>Without getting too much into the weeds, an example is how many code-switches happen around a trigger word, or a linguistic pivot that allows someone to switch languages within a sentence. Examples of these in Spanglish could be pero, like, but, and, as shown in the example from the beginning:</p><p>“Tengo que caminar a escuela pero it’s raining so hard!” or, alternatively,</p><p>“My brother me llamó ayer because he needed advice,” a sentence which syntactically respects both Spanish and English.</p><p>The term <a href="https://pubs.asha.org/doi/abs/10.1044/2023_LSHSS-22-00136">translanguaging</a> describes bilingual speech as a person engaging fluidly with their entire linguistic repertoire and combined identities. This moves away from the implied separateness of the term code-switching. There is a wealth of research that shows how bilinguals use code-switching and translanguaging to communicate and connect. For instance, using the same mix of languages can be a way for two kids to highlight that they share intercultural identities.</p><h3>Myth 3: Bilingualism hinders (language) development</h3><p>There’s a lot to unpack here. One common fear is that children will confuse their languages. Another is that early bilingualism hinders a child’s linguistic or cognitive development. On the contrary, <a href="https://www.multilingual-matters.com/page/detail/?k=9781788929882">bilingualism</a> has been proven to be beneficial in many ways, and infant brains are naturally equipped to handle multiple languages. Because languages may be acquired in different contexts, not all vocabulary in a single language might match that of a monolingual child, but the number of <a href="https://www.multilingual-matters.com/page/detail/Bilingual-First-Language-Acquisition/?k=9781847691484">conceptual mappings</a> has been proven to be the same.</p><p>When it comes to voice AI and early speech-sound diagnoses, it becomes more about phonemic differences and making appropriate goals.</p><p>In Spanish, only /s/, /n/, /r/, /l/ and /d/ exist in final positions. Because of this, certain tests may flag <a href="https://bilinguistics.com/phonological-processes/">final consonant deletion</a> as a common error for sounds not in this list. However, for a young bilingual child this isn’t necessarily an issue. In fact, it makes sense as they continue to develop <a href="https://www.e-cacd.org/m/journal/view.php?number=28">phonetic distinctions</a> between their languages. A bilingually-trained voice engine can help support these complexities, provide more accurate scoring information, and ultimately better support the child.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZmIODyRgI0JujFFN.jpg" /></figure><p>The way around this? The ideal solution would be to develop curricula and methodologies that destigmatize code-switching and create spaces for children to participate in bilingual mode. Incorporating voice technology that works in both Spanish and English, such as the SoapBox voice solutions, will be a step change for emerging bilingual learners.</p><p>Dubbed <a href="https://doi.org/10.1044/2021_JSLHR-21-00008">“The Language Combination Affect,”</a> researchers Leah Fabiano-Smith, Chelsea Privette and Lingling An have found that assessing kids using a combination of their languages proves most effective in diagnosing early speech progression and potential disorders. Forcing a mode might handicap a bilingual child, especially when language-specificity is not what’s being measured.</p><h3>Conclusion</h3><p>So, starting to introduce tools and digital speech solutions, such as the SoapBox Spanish voice engine, that enable students to switch between Spanish and English in their daily life at school is already a fundamental step towards fostering inclusiveness.</p><p>At SoapBox, we recognize that translanguaging and the use of bilingual phonetic data can help prevent misdiagnosis and better support literacy development, and we will continue to develop our research and testing in this area. Furthermore, legitimizing bilingualism in technology will support its status overall, accurately respond to more children’s speech, and help set them up for success.</p><p><em>Author: Sela Dombrower, Computational Linguist / NLP Engineer</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7cb2efa609c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/our-new-spanish-voice-engine-is-next-to-bilingual-freindly-voice-ai-for-kids-b7cb2efa609c">Our new Spanish voice engine is the next step in bilingual-friendly voice AI for kids</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Ways voice AI transforms your preK-12 literacy products]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/3-ways-voice-ai-transforms-your-prek-12-literacy-products-e992b89d006f?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/e992b89d006f</guid>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[education-technology]]></category>
            <category><![CDATA[edtech]]></category>
            <category><![CDATA[voice-enabled-devices]]></category>
            <category><![CDATA[literacy]]></category>
            <dc:creator><![CDATA[SoapBox]]></dc:creator>
            <pubDate>Mon, 09 Oct 2023 16:55:20 GMT</pubDate>
            <atom:updated>2023-10-10T10:16:13.504Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PAe3Tv8WKQvSnLFCJJgfbA.jpeg" /></figure><p><em>This blog was originally </em><a href="https://www.soapboxlabs.com/blog/3-ways-voice-ai-transforms-literacy/"><em>published</em></a><em> at soapboxlabs.com.</em></p><p>It’s no secret that there’s a literacy crisis in America, and that effective, scalable solutions are needed to help all kids learn to read.</p><p>About <a href="https://www.nytimes.com/2023/04/16/us/science-of-reading-literacy-parents.html">one in three</a> children across the US aren’t reading on grade level, while half of students in grades three to eight in New York City are failing reading tests. This is so concerning that New York — the largest school system in the US — is <a href="https://www.nytimes.com/2023/05/09/nyregion/reading-nyc-schools.html?referringSource=articleShare">overhauling</a> its reading curriculum.</p><p>Educators are optimistic that adding AI to <a href="https://www.edweek.org/technology/measuring-reading-comprehension-is-hard-can-ai-and-adaptive-tools-help/2023/03">adaptive reading tools</a> can fill important literacy gaps. In particular, many <a href="https://www.edsurge.com/news/2023-03-07-schools-are-using-voice-technology-to-teach-reading-is-it-helping">school districts</a> are evaluating how voice AI technology — also known as automatic speech recognition (ASR) or, simply, voice technology — can support literacy education for their teachers and students.</p><p>Voice-enabled <a href="https://www.soapboxlabs.com/fluency/">reading tools</a> automatically listen while a child is reading aloud, analyze the audio, and deliver immediate rich and granular feedback to the teacher dashboard and/or to the child directly.</p><p>This blog has been adapted from our recent <a href="https://home.edweb.net/webinar/lwt20230420/">webinar</a> “5 Ways Voice-Enabled Literacy Tools Empower K-3 Teachers and Students” with our partner Learning Without Tears. In it, we explore three ways voice AI can transform preK-12 literacy products, paving the way for more impactful and personalized literacy learning experiences for kids and their teachers.</p><h3>3 benefits of voice AI in reading tools</h3><h3>1. More time for targeted instruction</h3><p>Data from <a href="https://www.soapboxlabs.com/fluency/">oral reading fluency</a> assessments is essential for planning instruction, grouping students, and making necessary instructional adjustments throughout the year. One-on-one teacher-led assessments are time consuming, however, easily taking five minutes or more per student.</p><p>Voice-enabled reading tools can assess students automatically, frequently, and at scale, giving teachers the pinpointed and timely data they need to guide instruction at the student, group, or classroom level.</p><p>Actionable data for teachers</p><p>With voice-enabled oral reading tools, feedback on a child’s reading progress is delivered directly to a teacher’s dashboard, offering accurate and deep insights into student capabilities. The voice data returned to teachers can include:</p><ul><li>Reading accuracy and rate scores (e.g., words correct per minute)</li><li>Reading errors (e.g., insertions, deletions, pauses, and hesitations)</li><li><a href="https://www.soapboxlabs.com/blog/announcing-prosody/">Prosody</a> (students’ expression while reading)</li></ul><p>Access to continuous data on each student’s progress also allows teachers to identify difficulties earlier and meet children where they’re at in terms of stretch or scaffolding tasks.</p><p>Immediate and longitudinal data delivered to teacher dashboards can help them identify a child who is struggling earlier in their literacy journey and prompt more personalized intervention and more focused screening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pUt_1dFyp6MO4a4Y.png" /></figure><h3>2. Unbiased assessment data</h3><p><a href="https://www.soapboxlabs.com/blog/racial-equity-certification/">Equity</a> in learning experiences is fundamental for all kids, no matter their age, background, or academic ability. But teachers are also human, and subjective assessments of a child’s abilities happen, for reasons within and outside of their control.</p><p>In the busy environment of a noisy, energetic, and diverse classroom, teachers can also unwittingly make mistakes during assessments.</p><p>It’s also true that, for some kids, even the presence of a teacher can negatively affect their assessment performance. Many children feel anxious during assessments when they see their teacher making notes as they read out loud.</p><p>With voice-enabled reading tools, assessments are automated and can happen more regularly and invisibly for students and educators. And as discussed above, the data teachers receive, immediately and longitudinally, can help them objectively view the next steps to take to support a child in their reading journey.</p><p>Voice-enabled learning tools provide unbiased data back to teachers, giving them a true record and measure of students’ independent performance and stage of learning.</p><h3>3. Empowering students</h3><p>To facilitate meaningful literacy practice, children need to engage with both physical and digital texts. This helps them feel empowered, see that they’re making progress, and build their confidence.</p><p>One way to make reading practice more enjoyable and fun for children is by incorporating elements of fun and play into the learning process. Voice-enabled learning tools can offer more immersive experiences to kids in gamified activities. Voice-powered tools can also allow younger students to play back their own voices (which they love!), giving them agency over their learning, increasing their motivation and engagement.</p><p>Voice-enabled literacy programs also break down barriers for students who feel anxious when reading out loud in front of their peers by allowing them to practice reading independently at their own pace, in the classroom or at home.</p><p>As students hear themselves mastering reading skill after reading skill when they read aloud, they become more confident to read in front of their teachers and peers, and that confidence paves the way for accelerating their academic achievement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qW9cG1YfrvaIim5j.jpg" /></figure><h3>Voice-enabled literacy: An example</h3><p><a href="https://www.lwtears.com/solutions/reading/phonics-reading-and-me">Phonics, Reading, and Me</a> is a new K-3 print and digital supplemental phonics program from <a href="https://www.soapboxlabs.com/blog/learning-without-tears-partnership/">Learning Without Tears</a>. It’s designed to help children learn the skills they need to become proficient readers and meet the needs of busy educators.</p><p><a href="https://www.soapboxlabs.com/">SoapBox Labs</a>‘ voice AI technology for kids is incorporated into Phonics, Reading, and Me’s digital learning experience.</p><p>At the start of each lesson, each student completes a voice-enabled oral reading screener that gauges their reading skills and sets an adaptive pathway.</p><p>Phonics, Reading, and Me prompts the child to read a short decodable text out loud, and SoapBox’s voice engine scores it based on the child’s ability to read skill words in connected texts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J0oW9QKdsdrbZQLo.jpg" /></figure><p>Teachers receive immediate feedback on each child’s reading — at the word and phoneme level — on their teacher dashboard. They can see how the student performed with their target skill words, cumulative review words, high-frequency words, and their automaticity.</p><p>This oral reading data can also empower and improve the communication with families and caregivers, as it allows teachers to provide even deeper insight into how students are reading in the classroom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nvs34UhXohyHDiaX.jpg" /></figure><h3>Add voice AI to your literacy products</h3><p>SoapBox has invested the last 10 years into developing our specialist <a href="https://www.soapboxlabs.com/technology/">voice AI technology</a> so that it’s accurate, equitable, and reliable for young students’ voices and speech patterns.</p><p>Our voice technology is built using state-of-the-art deep learning techniques and neural networks to ensure the highest accuracy for analyzing kids’ unique and variable speech.</p><p>We’re the voice partner for some of the most trusted names in education, including <a href="https://www.soapboxlabs.com/blog/learning-without-tears-partnership/">Learning Without Tears</a>, <a href="https://www.soapboxlabs.com/blog/scholastic-strategic-partnership/">Scholastic</a>, <a href="https://www.soapboxlabs.com/blog/announcing-mcgraw-hill-strategic-partnership/">McGraw Hill</a>, and <a href="https://www.soapboxlabs.com/resource/dyslexia-case-study-earlybird/">EarlyBird Education</a>, and we’d love to power your learning product too!</p><p>If you’re ready to voice-enable your product, complete our <a href="https://www.soapboxlabs.com/get-started/">Get Started</a> form, and we’ll be in touch to schedule a call and learn more about your use case.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e992b89d006f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/3-ways-voice-ai-transforms-your-prek-12-literacy-products-e992b89d006f">3 Ways voice AI transforms your preK-12 literacy products</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[13 Q&As on our new prosody feature]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/13-q-as-on-our-new-prosody-feature-beed848df676?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/beed848df676</guid>
            <category><![CDATA[edtech]]></category>
            <category><![CDATA[voice-recognition]]></category>
            <category><![CDATA[fluency]]></category>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[prosody]]></category>
            <dc:creator><![CDATA[SoapBox]]></dc:creator>
            <pubDate>Mon, 09 Oct 2023 16:34:28 GMT</pubDate>
            <atom:updated>2023-10-10T10:21:09.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHHJE9cDt7rloy0SpX4xCA.jpeg" /></figure><p><em>This blog was originally </em><a href="https://www.soapboxlabs.com/blog/questions-on-prosody/"><em>published</em></a><em> at soapboxlabs.com.</em></p><p><a href="https://www.soapboxlabs.com/fluency/">SoapBox Fluency</a>, our oral reading fluency (ORF) assessment solution, can now measure children’s <a href="https://www.soapboxlabs.com/blog/how-soapbox-powers-prosody/">prosody</a> — the intonation, rhythm, and pace of their reading.</p><p>At our recent <a href="https://youtu.be/afqxP0ta_zI">Powering Prosody webinar</a>, SoapBox experts demonstrated how our voice engine generates new pitch and phrasing data points for teachers, and the discussion and demo prompted a lot of great audience questions.</p><p>Here are 13 of those questions and answers about how our Prosody feature works.</p><h3>13 Q&amp;As on Prosody</h3><h3>1. How does SoapBox accommodate children’s pitch ranges?</h3><p>Our Prosody feature returns raw pitch values and can detect any pitch range. Since children’s voices fall within the 215–400 Hz, we’ve tuned our voice engine to be more sensitive in that higher range.</p><p>To learn more about how pitch values are computed, clients can dive into our Tech Docs. New to SoapBox? Complete our <a href="https://www.soapboxlabs.com/get-started/">Get Started</a> form to tell us more about your use case and get access to our Tech Docs.</p><h3>2. Can I compare the pitch of one child to another?</h3><p>Prosody returns an array of pitch values (in Hertz) at the word-level for each word in an audio file. Pitch values range from 50 to 600 Hz to capture the typical pitch of adults and children. (The image below is an example JSON of the pitch values returned for a single word.)</p><p>You can use this data to compare the pitch of one child to another if it’s relevant for your use case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dfKPySlftI2YDOxf.png" /></figure><h3>3. Does SoapBox have correlations to humans rating prosody using the NAEP rubric?</h3><p>When developing our Prosody feature, we referenced a number of recognized rubrics, including NAEP, to model how our prosody JSON data can be mapped to a rubric score.</p><p>During extensive development and testing, we found a strong correlation between rubric scores generated by our voice engine and human-annotated samples.</p><h3>4. Can I map SoapBox’s prosody data to my own rubric?</h3><p>Yes! You can use our prosody data to generate a single rubric score for educators. Clients can dive into our Tech Docs to see detailed guidelines and example calculations of how our JSON data can be mapped to a rubric score.</p><h3>5. Can SoapBox assist in the interpretation and implementation of prosody data for my product?</h3><p>Yes! Clients who license SoapBox’s technology have access to <a href="https://www.soapboxlabs.com/studio/">SoapBox Studio</a>, where we can work with you to develop the best interpretations and implementations of our prosody data for your product and use case.</p><h3>6. Can SoapBox’s Prosody feature be used for cross-sentence variation analysis?</h3><p>Yes! Our voice engine returns raw pitch and phrasing data points, which customers can use for various types of prosody analysis, including cross-sentence variation.</p><p>We’re always happy to discuss specific use cases with customers and develop bespoke solutions through <a href="https://www.soapboxlabs.com/studio/">SoapBox Studio</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3aOsL2R6VarRGJRI.jpg" /></figure><h3>7. How does SoapBox accommodate students with accents?</h3><p>The SoapBox voice engine is built to understand kids of all <a href="https://www.soapboxlabs.com/blog/catering-to-accents-and-dialects/">accents and dialects</a>. It’s trained on children’s voice data from 193 countries and has been independently validated to show no bias in speech recognition across race, accent, and socioeconomic backgrounds. Learn more about our commitment to <a href="https://www.soapboxlabs.com/blog/racial-equity-certification/">equity</a>.</p><h3>8. Does SoapBox accommodate students with speech disorders?</h3><p>The SoapBox voice engine can accurately transcribe the speech of children with mild speech disorders. If a person who is unfamiliar with the child can understand their speech, our voice engine will also be able to understand them.</p><h3>9. Has your Prosody feature been used to determine areas of student need?</h3><p>Prosody is a brand-new feature designed specifically to measure prosody of read text as part of <a href="https://www.soapboxlabs.com/fluency/">SoapBox Fluency</a>, our oral reading fluency assessment solution. Our prosody data is currently being used for English language learning (ELL), with both read and spontaneous responses.</p><h3>10. Does SoapBox’s Prosody feature return volume data?</h3><p>Our Prosody feature provides detailed data on students’ pitch and pauses, based on extensive research and feedback from our education clients. We are continually working on improving Prosody, and we plan to address volume and stress in the next version of the feature.</p><h3>11. Is it necessary to send SoapBox the full audio file?</h3><p>Longer audio files provide more data to accurately assess a child’s prosody. Although it’s possible to use prosody analysis on any length of file, we recommend submitting longer passages to ensure the best possible evaluation of the child’s prosody skills.</p><h3>12. How does SoapBox protect children’s data privacy?</h3><p>Fully encrypted and anonymized audio files are sent to our API. No personal identifiable information (PII) is sent to our service, and the recordings are deleted immediately after processing. Our privacy-by-design approach ensures that we cannot identify any individual child from the information sent to our service. Visit our <a href="https://www.soapboxlabs.com/on-privacy/">Privacy page</a> to learn more.</p><h3>13. Where can I learn more about SoapBox’s Prosody feature?</h3><p>Check out our Prosody <a href="https://youtu.be/afqxP0ta_zI">webinar</a> and <a href="https://www.soapboxlabs.com/blog/how-soapbox-powers-prosody/">tech blog</a>. SoapBox clients can also try out our new Prosody feature in the SoapBox Fluency demo.</p><h3>Start using Prosody in your ORF &amp; ELL tools!</h3><p>Ready to leverage our new prosody feature in your K-12 oral reading assessment and language learning tools? Contact your SoapBox Account Manager today to learn more.</p><p>If you’re new to SoapBox, email us at hello@soapboxlabs.com or complete our <a href="https://www.soapboxlabs.com/get-started/">Get Started</a> form, and we’ll be in touch to discuss your use case.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4S0fF0kSauw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4S0fF0kSauw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4S0fF0kSauw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9aee2d58764190a103682fdc0b566729/href">https://medium.com/media/9aee2d58764190a103682fdc0b566729/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=beed848df676" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/13-q-as-on-our-new-prosody-feature-beed848df676">13 Q&amp;As on our new prosody feature</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s not what you say, it’s how you say it: How SoapBox powers prosody]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/its-not-what-you-say-it-s-how-you-say-it-how-soapbox-powers-prosody-239c5370a42a?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/239c5370a42a</guid>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[literacy]]></category>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[voice-technology]]></category>
            <category><![CDATA[prosody]]></category>
            <dc:creator><![CDATA[Brenda McGuirk]]></dc:creator>
            <pubDate>Tue, 04 Apr 2023 11:37:51 GMT</pubDate>
            <atom:updated>2023-04-04T11:39:41.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8qLO9xkdlMcrjS38dV1Qlw.png" /></figure><p><em>This blog was originally </em><a href="https://www.soapboxlabs.com/blog/how-soapbox-powers-prosody/"><em>published</em></a><em> at soapboxlabs.com.</em></p><p>We’ve just released the newest feature of <a href="https://www.soapboxlabs.com/fluency/">SoapBox Fluency</a>: Prosody.</p><p>Prosody is a key component of oral reading fluency (ORF) and critical to being understood in second language learning.</p><p>Prosody refers to the rhythms, melodies, and intonations of speech that go beyond the literal meaning of words. It’s the musicality of language, the ups and downs, and the pace that gives our words meaning.</p><p>Education companies using SoapBox Fluency to power their ORF assessments tell us that educators face significant challenges in capturing prosody data, for example:</p><ul><li>It’s difficult to simultaneously track accuracy and prosody during observed assessments.</li><li>Applying an evidence-based approach to measuring prosody is a challenge because it’s highly intuitive by nature.</li><li>Prosody skills develop at a different pace for kids than other fluency skills, requiring independent progress reporting.</li></ul><p>Our new prosody feature was designed to address these challenges, and to support our education partners in automating prosody scoring and generating at-a-glance prosody data that’s actionable in the classroom.</p><p>This blog explores the role of prosody in ORF and language learning, and explains how we’ve built our prosody feature to accurately capture data for three core prosody measurements.</p><h3>What is prosody?</h3><p>Prosody is the intonation, rhythm, or “music” of speech. Linguistically, it’s a combination of many aspects of language, including pitch, intonation, and stress.</p><p>When prosody is present, a speaker sounds fluent and natural, and their meaning is clear.</p><p>Prosody plays a crucial role in both oral reading fluency and second language learning, albeit in different ways.</p><h4>Prosody in oral reading fluency</h4><p>In recent years, discussions about the <a href="https://www.nwea.org/blog/2022/the-science-of-reading-explained/">science of reading</a> have focused on early reading. Phonological awareness, decoding, and sight reading, most educators agree, are the fundamental building blocks for literacy success.</p><p>As we know, the science of reading goes well beyond phonics. As shown in Scarborough’s Reading Rope, mastering oral reading fluency (ORF) and text comprehension are integral to helping children achieve reading proficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CQy0MEnX47OMg0PH.jpg" /><figcaption><em>Scarborough’s Reading Rope</em></figcaption></figure><p>And ORF isn’t just about reading quickly and accurately. As a reader develops fluency, the way they read becomes equally important.</p><p>Cue prosodic reading! When a student reads with expression, they unlock a crucial component of fluent reading. Students are expected to read with a degree of prosodic proficiency by <a href="https://fcrr.org/sites/g/files/upcbnu2836/files/media/projects/essentials-for-reading-success/reading-components/Fluency%20Resources.pdf">fifth grade</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gGTlzKS2yqe3_tgN.png" /><figcaption><em>Accuracy, reading speed, and prosody are the three components of oral reading fluency.</em></figcaption></figure><p>Prosody is widely <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2748352/#:~:text=Prosodic%20reading%2C%20or%20reading%20with%20expression%2C%20is%20widely%20considered%20to,fall%20patterns%2C%20and%20general%20expressiveness.">considered</a> to be linked to comprehension. If a reader understands what they’re saying, their emphasis and expression will reflect that, adding a layer of meaning to their words. In fact, <a href="https://www.readingranch.com/all-about-prosody-what-it-is-why-its-important/">research</a> has shown that prosodic cues can boost readers’ comprehension.</p><p>To become truly fluent, however, students must be able to read fluently while simultaneously grasping the text’s meaning. This major milestone in their literacy journey marks the transition from “learning to read” to “reading to learn.”</p><p>For English Language Learners (ELLs), reading fluently can have additional challenges. A student may be fluent in their heritage language but struggle to transfer some skills over to their second language. This is particularly true for the skill of prosody. If English learners struggle with reading fluency and don’t receive adequate support, they may be wrongly assessed as having a learning disability and be placed into special education services.</p><h4>Prosody in second language learning</h4><p>Prosody is also a vital piece of the language learning puzzle.</p><p>It takes more than vocabulary and pronunciation to be understood when speaking a second language. Prosody plays an important role in both speech comprehension and production. It adds richness and depth and differs from one language to another.</p><p>Prosody can impact the meaning of a sentence by conveying structural information. In English, <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4285364/">for example</a>, ending a sentence with a high tone makes it sound like a question, even if it’s not technically a question (“you’ve finished ↑” / “ready to go ↑”).</p><p>In recognized language frameworks like the <a href="https://www.ielts.org/about-ielts/what-is-ielts">International English Language Testing System</a> (IELTS) and the <a href="https://www.coe.int/en/web/common-european-framework-reference-languages/level-descriptions">Common European Framework for Reference for Languages</a> (CEFR), fluency is measured through both accuracy and expression. In oral assessments, speakers must demonstrate comprehension, measured through prosodic markers. To achieve the highest IELTS score, for example, the language learner must demonstrate “fully operational command of the language. Their use of English is appropriate, accurate and fluent, and shows complete understanding.”</p><p>Language learners who lack prosodic skills, however, may struggle to be understood by native speakers, even if their pronunciation is spot-on. <a href="https://www.continentalpress.com/blog/helping-ells-develop-prosody/">Research</a> suggests that failing to support prosody development can actually set ESL students back.</p><h3>Current challenges of assessing prosody</h3><p>In both ORF and language learning, assessing prosody poses many challenges.</p><h4>The challenges of assessing prosody in ORF</h4><p>The key issue of assessing and reporting prosody in reading assessments is one we can all appreciate — time. Time is a precious commodity in the classroom, and educators are already heavily burdened by assessments and reporting for literacy and numeracy. Adding a prosody measurement to the mix can make assessments even more daunting.</p><p>While reading speed, accuracy, and comprehension are well observed and tracked, prosody measures are often overlooked. In observed assessment, it is virtually impossible to track reading accuracy and prosody at the same time.</p><p>In addition, some educators have reported that they are not always confident when “measuring” prosody, especially when undertaken simultaneously with ORF marking. This reliance on intuitive scoring can leave some educators feeling uncertain and uneasy, with prosody assessment feeling more like an art than a science.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_HizAxJdyTWJEI3T.jpg" /></figure><h4>The challenge of assessing prosody in language learning</h4><p>Our education partners have reported that the complexity of simultaneously tracking accuracy and prosody is also a challenge in language learning.</p><p>In addition, language teachers may not always be native speakers themselves and, as a result, may lack the confidence or skill to score their students’ prosody.</p><h3>SoapBox’s new prosody feature</h3><p>Our Speech Technology and Engineering teams were excited to undertake the scientific challenge of building a voice engine feature that could return accurate and objective prosody data.</p><h4>The challenges of analyzing prosody with voice technology</h4><p>The main technical challenges of developing our prosody feature included:</p><ul><li>Translating the complexity of some prosody-related measurements (e.g., pitch signal) into machine-readable speech data points.</li><li>The lack of a unanimous prosody definition outside expert circles. This required us to experiment with several data points extracted from the speech signal.</li><li>The subjectivity of prosody and the resulting difficulty of finding expert-validated prosody annotations.</li><li>The multidimensionality of prosody, which made us realize that the interpretation of prosody data is just as important as collecting the data points themselves.</li></ul><h4>Optimizing our prosody feature</h4><p>The development of our new prosody feature is the result of extensive research and feedback from our literacy ORF and language-learning partners. It returns granular pitch and phrasing data, which can be combined to create a comprehensive analysis of a read passage, or used individually depending on a client’s specific needs.</p><p>Education and edtech companies can use this data to</p><ul><li>Automatically and objectively measure the quality of a student’s prosody.</li><li>Gauge whether a student’s prosody performance is at expected level.</li><li>Map a student’s score to a prosody rubric.</li><li>Surface prosody data directly to teacher dashboards, eliminating the need for manual assessment.</li></ul><h3>3 voice-enabled use cases for prosody</h3><p>Let’s walk through the three most common voice-enabled use cases for prosody.</p><h4>1. Expressiveness</h4><p>Expressiveness is a measure of how much a student’s pitch modulates while reading. High expressiveness can indicate interest, understanding, and fluency of a passage; while low expressiveness can indicate a student is struggling or has yet to fully grasp the material.</p><p>SoapBox Fluency can now detect and measure the rise and fall of a student’s pitch in an audio file and return data points on pitch measurements at fixed intervals and timestamps, to indicate whether pitch changed, at what point in a sentence, and at what rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lcQbmdoNWjgULkrS.png" /><figcaption><em>An example of how a student’s expression data can be visualized in a reading assessment. In this example, the dotted pitch contour line shows that the student read the first sentence with low expressiveness.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kXflvYNLu6wvK7yU.png" /><figcaption><em>In this example, the pitch contour line shows that the student read the first sentence with high expressiveness.</em></figcaption></figure><h4>2. Timing of punctuation</h4><p>Another important aspect of prosody is ensuring that a student pauses at appropriate points in a passage, typically demarcated by punctuation (e.g., periods, commas, question marks, and exclamation marks).</p><p>SoapBox Fluency can identify whether a student paused appropriately at particular punctuation marks by calculating how long, in seconds, the child paused between a word with a punctuation mark and the next word. Clients can customize the pause thresholds for their given task.</p><p>Data for pauses and hesitations across a sentence or passage can be matched to prompt text or modeled oral responses.</p><p>When pauses are matched to punctuation and logical breaks, this can indicate understanding and fluency. When pauses are too frequent or not matched to punctuation, it may be that the student is struggling to decode or is reading with less fluency and prosody than expected at their grade level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NoQTg6E5M-nMuj3V.png" /><figcaption><em>An example of how punctuation timing data can be visualized in a reading assessment. In this example, the student paused too long at the comma and not long enough at the exclamation mark.</em></figcaption></figure><h4>3. Expression of punctuation</h4><p>Ensuring that a student varied their intonation at appropriate points in a passage is another important prosody measure.</p><p>Proper intonation points are typically demarcated by question marks, where intonation is expected to rise, and periods, where intonation is expected to fall.</p><p>SoapBox Fluency can measure a student’s intonation at question marks and periods.</p><p>First, Fluency identifies punctuation-mark boundaries. Once a question mark or period is identified, the pitch values can be used to check if the student raised or lowered their intonation as expected, and the slope of a pitch value array can be derived.</p><p>Once the slope is calculated, a threshold can be used to determine if the incline or decline was sharp enough to qualify as a rise or fall in intonation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*99SzKcyABk4yxadZ.png" /><figcaption><em>An example of how punctuation expression data can be visualized in a reading assessment. In this example, the student’s intonation did not change sufficiently at the question mark.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Og7sHuEcXvNsFAic.png" /><figcaption><em>In this example, the student’s intonation rose at the question mark.</em></figcaption></figure><h3>Rubric mapping</h3><p>Prosody rubrics, such as the widely used <a href="https://nces.ed.gov/nationsreportcard/studies/orf/scoring.aspx">NAEP rubric</a>, provide quick, clear, and actionable feedback for educators.</p><p>Referencing a number of recognized rubrics, we generated a sample prosody rubric to support our customers in translating our prosody data into:</p><ul><li>Scores for individual prosody measurements (e.g., expressiveness or phrasing).</li><li>A rubric score (an aggregate of multiple prosody measures).</li></ul><p>This provides flexibility and choice in how clients generate and surface prosody scores to educators.</p><p>In our developer documentation, we provide detailed guidelines and example calculations of how our JSON data can be mapped to a rubric score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YCQtR6Eam0tqDoZR.png" /><figcaption><em>An example hierarchy for calculating a prosody rubric score</em></figcaption></figure><h3>Learn more about SoapBox</h3><p>For more blogs from our Engineering, Speech Technology, and Product teams on how SoapBox builds our speech recognition for kids, visit our <a href="https://medium.com/the-soapbox-tech-blog">Medium page</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=239c5370a42a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/its-not-what-you-say-it-s-how-you-say-it-how-soapbox-powers-prosody-239c5370a42a">It’s not what you say, it’s how you say it: How SoapBox powers prosody</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the world of spontaneous language modeling in speech recognition]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/understanding-the-world-of-spontaneous-language-modeling-in-speech-recognition-38dcb5f52c53?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/38dcb5f52c53</guid>
            <category><![CDATA[spontaneous-lms]]></category>
            <category><![CDATA[voice-technology]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[language-model]]></category>
            <dc:creator><![CDATA[Valluri Saikiran]]></dc:creator>
            <pubDate>Wed, 01 Mar 2023 16:03:10 GMT</pubDate>
            <atom:updated>2023-03-01T16:03:10.221Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSi3xKBcBCeTVCNY0i89pQ.jpeg" /></figure><p><em>This blog is by Valluri Saikiran, Senior Speech Recognition Engineer &amp; Emma O’Neill, Computational Linguist. It was originally </em><a href="https://www.soapboxlabs.com/blog/spontaneous-language-modeling/"><em>published</em></a><em> at soapboxlabs.com.</em></p><p>Spontaneous speech language modeling involves the creation of language models (LM) that can accurately recognize, process, and analyze the complexities of spontaneous human speech in real time, with minimal contextual information.</p><p>Language modeling for spontaneous speech is challenging, as spontaneous speech can be unpredictable and inconsistent, and, often, not limited to a single domain. These challenges are magnified further when it comes to kids’ speech.</p><p>At SoapBox Labs, we’ve been championing the rise of spontaneous LMs and using them since their earliest iterations in the development of our voice engine for kids.</p><p>This blog covers:</p><ul><li>What are spontaneous LMs?</li><li>Examples and applications of spontaneous language modeling</li><li>Challenges in spontaneous language modeling</li><li>Addressing the challenges</li><li>Evaluation metrics</li></ul><h3>What are spontaneous language models?</h3><p>Language models are a vital component of speech recognition systems since they allow us to determine the most likely sequence of words being spoken.</p><p>For example, the sentence “I like to read” is more probable than “I like to reed” even though both sentences sound the same.</p><p>In this regard, a language model has to be suited to the type of speech we want the recogniser to handle.</p><p>Modeling spontaneous speech, therefore, involves supporting language that can cover a wide range of topics, sentence constructions, and disfluencies that can often occur.</p><p>Compare this with the arguably easier task of modeling read speech, where we can expect sentences to be grammatical, words to be well-formed, and the speaker to stay on-topic.</p><p>The custom language models used in our <a href="https://www.soapboxlabs.com/fluency/">SoapBox Fluency</a> solution are an example of how models that are primarily designed for read speech can also be expanded to account for insertions of unexpected words and sentences.</p><p>Fluency is built to automate oral reading fluency assessments. Given a predefined passage, it analyzes the audio file of a child and compares it to the passage itself, and generates a set of related oral-reading data points (omissions, self-corrections, pauses, etc.). In other words, our <a href="https://www.soapboxlabs.com/resource/clms-guide/">custom language models</a> used in Fluency know what the child is expected to say and make predictions on what the child actually said if they go off script.</p><p>Catering to the spontaneous off-script speech of children, however, is a different challenge, requiring the development of custom LMs that can also handle a wide variation of speech styles.</p><p>SoapBox’s custom spontaneous language models can be robustly deployed to allow a child to freely articulate their response to a prompt or question. These models surface not just an accurate transcription of spoken words but also hesitations and disfluencies, valuable data for clients of our voice engine looking to track and assess language competency.</p><h3>Examples and applications of spontaneous speech language modeling</h3><p>There are many everyday applications for spontaneous speech language modeling, such as interacting with a voice-activated digital assistant or using voice dictation software to transcribe anything from a casual conversation between friends to a polished speech by a prominent speaker.</p><p>At SoapBox, there are applications of spontaneous language modeling across all of our education use cases including literacy and language learning. For example:</p><ul><li>Language assessment: A child responds to a prompt such as: “Tell me about your last vacation.”</li><li>Reading comprehension: A child responds to a question such as: “Why was Jose sad?” or “What did you learn about the greenhouse effect in this story?”</li><li>Retell: “What happened when Casey went into the fruit section?”</li><li>Conversation: “Leave a voice message for your friend to explain why you will be late for your playdate.”</li></ul><h3>What are the challenges of spontaneous speech language modeling?</h3><p>The key challenge of spontaneous language modeling is the vast variety of vocabulary and sentence formations a speaker could liberally use, including their mispronunciations and disfluencies. The speech recognition system must precisely decode different word combinations or articulations, which are often outside of the expected domain.</p><h4>Children’s speech is even more challenging</h4><p>Since SoapBox works with children’s speech, we must also account for kids’ unique speech and language patterns.</p><p>When a child is prompted to think on the spot, their responses can often be off topic, ungrammatical, and include more mispronunciations and disfluencies than that of an adult’s.</p><p>To pick up the above example, this is how a child might respond to an open-ended question in an English language learning activity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rjolLWC9d7eyc7UT.jpg" /></figure><h3>Addressing the challenges of spontaneous speech LMs</h3><p>At SoapBox, we’re building spontaneous language models for domain-specific responses to predefined questions or prompts such as, “Describe what happened to Diane in the passage you just read.”</p><p>We also need to be able to accurately transcribe the spontaneous interjections and disfluencies that a child might exhibit while reading a fluency passage. For example, what are they saying when they go off-script?</p><p>Building these spontaneous custom LMs requires large quantities of relevant, targeted data of children engaging in these particular language patterns and behaviors.</p><p>The training data should primarily satisfy two requirements:</p><ol><li><strong>Coverage:</strong> The training data should cover all combinations of words, disfluencies, or hesitation sounds that could occur in our client’s use cases.</li><li><strong>Domain relevant:</strong> The training data should also include the prompt text or the passage the child was asked to read, as well as text contents that are closely related to the prompt’s domain.</li></ol><p>At SoapBox, we use our proprietary datasets of children’s speech to address the challenges of modeling spontaneous speech in all contexts. We analyze children’s speaking patterns to craft custom language models that can accurately predict the way children commonly behave while using the literacy and language learning tools of our clients, for example, thus creating speech systems that accurately model and predict children’s reading and speaking behaviors in these scenarios.</p><h3>Evaluation metrics for spontaneous speech language modeling</h3><p>Word error rate (WER) is the most important metric for evaluating speech recognition systems and, thus, the language model component.</p><p>To calculate WER, the reference transcripts (usually, human annotated data) of the evaluation dataset and the speech recognition output transcriptions are aligned and compared for word mismatches.</p><p>Then, the final WER is calculated as the ratio of the total number of word mismatch errors and the total number of words in the reference transcripts of the evaluation dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vToqIym1ltzeMmjk.jpg" /></figure><p>Supplied by our clients, we have on-field test audio recordings that contain children’s responses to various prompts or tasks.</p><p>We use this test data to evaluate our spontaneous LMs based on the WER of our ASR outputs compared to the reference annotations of the on-field test data.</p><p>We also evaluate our language models directly using a perplexity metric. Perplexity tells us how predictable a test sentence or passage is given a specific language model (how perplexed the model is by such a sequence). A low perplexity value means the model does a good job of capturing the language style it is being tested on.</p><h3>Future directions for spontaneous language modeling</h3><p>SoapBox will continue to apply our spontaneous language modeling capabilities to our large proprietary data set of child speech, and continue to deepen our understanding of kids’ speech and behaviors at every stage of the literacy journey, for example, from phonological awareness through to fluency and comprehension.</p><p>By continuing to improve the robustness of our spontaneous language models, SoapBox will ensure that our voice engine provides even more rich and granular feedback to educators — and parents — as they guide children on language, literacy, and other learning journeys powered by SoapBox solutions.</p><h3>Learn more about SoapBox</h3><p>For more blogs from our Engineering, Speech Technology, and Product teams on how SoapBox builds our speech recognition for kids, visit our <a href="https://medium.com/the-soapbox-tech-blog">Medium page</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38dcb5f52c53" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/understanding-the-world-of-spontaneous-language-modeling-in-speech-recognition-38dcb5f52c53">Understanding the world of spontaneous language modeling in speech recognition</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How SoapBox maximizes availability across our web services]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/how-soapbox-maximizes-availability-across-our-web-services-382258b9fd7a?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/382258b9fd7a</guid>
            <category><![CDATA[availability]]></category>
            <category><![CDATA[reliability]]></category>
            <category><![CDATA[reliability-engineering]]></category>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <dc:creator><![CDATA[Robert O'Regan]]></dc:creator>
            <pubDate>Thu, 09 Feb 2023 15:33:15 GMT</pubDate>
            <atom:updated>2023-02-09T15:39:16.063Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uTCCbu1nnMQur7_btTK_Xw.jpeg" /></figure><p><em>The blog was </em><a href="https://www.soapboxlabs.com/blog/platform-availability-reliability/"><em>originally published</em></a><em> at soapboxlabs.com.</em></p><p>At SoapBox, we’re focused on delivering reliable, accurate, and robust child speech recognition services that can be accessed in a variety of ecosystems, including cloud and edge. Some of our most popular services are our cloud-based solutions, which are available via industry-standard RESTful web services. These web services are designed to operate at scale, are deployed in multiple data centers globally, and process millions of customer requests every month.</p><p>Each data center deploying our services has the capacity to deal with the large volumes of traffic we serve globally daily and is configured to automatically scale to meet demand. Thanks to our extensive monitoring services, we can closely monitor regional health and quickly intervene if needed. We analyze and adjust capacity levels with scheduled scaling and auto-scaling triggers, adjusted on a regular basis to ensure the platform is reliable and responsive enough to fulfill the needs of our global customer base.</p><h3>Cloud infrastructure reliability and redundancy</h3><p>The primary environment for building and delivering our speech services is the cloud, and we maintain close relationships with our primary cloud infrastructure vendor, Microsoft Azure. Jointly, we undertake regular assessments of the reliability and robustness of our infrastructure to understand where opportunities exist to further strengthen platform reliability and redundancy.</p><h4>Mitigating outages and disruptions</h4><p>Given the nature of cloud-based web services, and the underlying cloud service providers (CSPs), outages and disruptions can occur, and at SoapBox, we plan for those eventualities.</p><p>Our CSP is constantly intercepting and mitigating DDoS attacks to the platform. Recently, they handled one of the <a href="https://www.bankinfosecurity.com/microsoft-says-mitigated-largest-ever-ddos-attack-a-17725#:~:text=Technology%20giant%20Microsoft%20has%20disclosed,cloud%20computing%20service%20Microsoft%20Azure.">largest ever DDoS attacks</a>. Inevitably, some attacks lead to interruptions on Azure services that SoapBox utilizes, such as FrontDoor.</p><p>In the summer of 2022 some of the CSP infrastructure was unable to deal with the <a href="https://gizmodo.com/heat-waves-climate-change-data-center-server-shut-down-1849916741">sustained and abnormally high temperatures</a>. This led to impacted service for some SoapBox customers. While some of these events are beyond our control, we constantly monitor and review how our platform is performing and try to identify areas where we can add redundancy and reliability.</p><p>When issues do occur, we need to react in a timely manner. Thanks to how our platform is designed, configured, built, and deployed, we can adjust in real time where customer traffic is routed, removing problem regions if needed. This ensures that any issues localized to specific regions are mitigated as quickly as possible.</p><p>In the event that a disruption to service is unavoidable, we strive to post timely updates on our status page to keep customers informed.</p><h3>Availability is key, production is everything</h3><p>Every engineer at SoapBox shares responsibility for ensuring platform stability and availability. We invest in best-of-breed systems and tools and work hard to establish and maintain a positive team culture in which platform reliability and availability is as important as the high levels of accuracy our <a href="https://www.soapboxlabs.com/technology/">voice engine</a> delivers to our customers.</p><p>Without rock-solid availability and reliability, we can’t deliver.</p><p>Production is the frontline: it’s what customers see and use on a daily basis. Ensuring quality in production is key to availability and reliability. Whether it’s product updates, bug fixes, model training, software builds, web service deployment, or infrastructure provisioning, we aim for the highest levels of quality at every step of the development process so that for customers reliability, scalability, and accuracy are baked in.</p><h4>Ensuring high operational standards</h4><p>Despite best efforts and intentions, issues can and will occasionally occur that have the potential to impact service availability and reliability. We continue to invest heavily in our monitoring tooling and to evolve how they are utilized, and how we build and deploy software.</p><p>Every engineer at SoapBox understands how our platform functions and how the code they ship behaves in a production environment.</p><p>At SoapBox, we hold ourselves to very high operational standards. We operate to budget, striving to minimize costs where possible, address issues promptly, mitigate security risks, and ensure platform accuracy, all the while providing the most reliable speech service possible.</p><p>We pride ourselves on the fact that we’ve never experienced a full outage where all service has been lost.</p><h4>Strong technical foundations</h4><p>We build our speech services upon a small number of core technologies that form our main tech stack. Our teams have decades of experience building with these technologies, and our architecture choices and implementation patterns are simple and proven; we follow industry best practice. The SoapBox engineering team knows what it takes to design and build for reliability, with solutions that are proven at scale.</p><p>We actively invest in building and maintaining systems, tooling, and approaches that support our ability to push changes quickly to production in a controlled and safe manner. When it comes to production, we have fine-grained control of the entire platform. We can deploy changes to a small percentage of customer traffic or to a small subset of customers or regions in order to better understand its impact. We can also revert/recover quickly by simply opting to “roll back” to a safe working version of the entire platform.</p><h3>Providing 24/7 support for global customers</h3><p>Our customers are global, and that means we support them with continuous 24/7/365 engineering and incident management support. We work continuously to strengthen and protect our service reliability and availability. When we encounter an incident that potentially impacts our customers, our extensive monitoring and notification tooling picks it up, and our incident response process kicks into gear.</p><p>Our on-call team is online and responds within minutes of being notified, and their immediate focus is on minimizing customer impact. Typically, we resolve any incidents in minutes, posting updates to our status page where applicable, while simultaneously working to restore optimal service as quickly as possible.</p><p>A key part of our incident management process is the incident review, where we deep dive into the root cause, identify any contributing factors, and, where applicable, provide post mortems to customers.</p><h3>Learn more about SoapBox</h3><p>Maximizing availability and reliability across our web services is just one (very important!) part of how we deliver an accurate and robust speech recognition system to our education and entertainment customers.</p><p>To learn more about how we build our speech technology, visit our <a href="https://medium.com/the-soapbox-tech-blog">Medium page</a> for more tech blogs from our Engineering, Speech Technology, and Product teams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=382258b9fd7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/how-soapbox-maximizes-availability-across-our-web-services-382258b9fd7a">How SoapBox maximizes availability across our web services</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A day in the life of a Software Engineer at SoapBox Labs: Joe Cheevers]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/a-day-in-the-life-of-a-software-engineer-at-soapbox-labs-joe-cheevers-466ad7e37e7a?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/466ad7e37e7a</guid>
            <category><![CDATA[kidtech]]></category>
            <category><![CDATA[voice-technology]]></category>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-engineer]]></category>
            <dc:creator><![CDATA[SoapBox]]></dc:creator>
            <pubDate>Thu, 27 Oct 2022 13:06:00 GMT</pubDate>
            <atom:updated>2022-10-27T13:41:40.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t4J0WBWVcVyRoSycTYNd8A.png" /></figure><p>This is the first in a series of “Day in the life” blogs where a member of the <a href="https://www.soapboxlabs.com/">SoapBox</a> team talks in-depth about their role and what led them to the company.</p><p><strong>Joe Cheevers</strong> is a Software Engineer, who was born, raised, and lives in Dublin, Ireland.</p><p>Before we dive into our interview, here are some fast-and-fun facts about Joe:</p><p><strong>His favorite movies:</strong> <em>Princess Mononoke and Robocop</em></p><p><strong>His favorite TV shows:</strong> <em>Star Trek: The Next Generation </em>and<em> Avatar: The Last Airbender</em></p><p><strong>His favorite restaurant in Dublin:</strong> <em>Duck</em></p><p><strong>His favorite pun: </strong><em>Did you hear about the magic tractor? It went down the road and turned into a field!</em></p><h3>Hey, Joe! Tell us about your role at SoapBox.</h3><p>At SoapBox Labs, customers primarily access our speech recognition technology via our Web Services. As a Software Engineer, my role encompasses a wide range of responsibilities and tasks to keep our speech services running smoothly and improve their performance. On a day-to-day basis, this includes contributing code changes, creating Pipelines, and even handling interesting and exciting engineering challenges about our speech technology, which rarely have out-of-the-box solutions since speech is a specialized industry.</p><h3>When did you join SoapBox? What drew you to the company?</h3><p>I joined SoapBox as an intern just over six years ago while I was studying Computer Science at Griffith College Dublin part time. At that time, the company was a lot smaller — I was one of the first seven employees — and still an early startup, which was intriguing for me. My primary draw to SoapBox was first and foremost the people. I can truly say I’ve never worked with more interesting, caring, and hard working colleagues.</p><h3>What does a typical day look like for you?</h3><p>A day in the life of a SoapBox Engineer starts like that of most other Engineers (I think!). After getting ready for the day, I plant myself in front of my many screens. My mornings would typically progress with checking emails and reviewing our monitoring tooling to ensure our Web Services are running smoothly and all our regions are healthy and serving traffic as intended.</p><p>I join our Product-Dev team stand-up every morning (we follow an agile methodology and typically work on goals for a set length of time — 1 week, 2 weeks, etc.). From here, the majority of my day would be spent coding, monitoring, or testing. Some days, it could be all three.</p><h4>Coding</h4><p>We use a range of technologies — including Python, C++, Javascript, Kubernetes, and Azure — so the skill set required can be quite varied. The tools and environments can be quite diverse as well, so I’m always on my toes, learning something completely new. We have a lot of incredibly talented engineers, who are always there to offer help and guidance while sharing their wealth of knowledge and experience.</p><h4>Monitoring for reliability and availability</h4><p>Every Engineer at SoapBox has a responsibility to ensure platform reliability and availability. Monitoring, therefore, is a 24/7 necessity, especially when dealing with a live service deployed in multiple locations globally — which is why we have extensive monitoring and alerting systems and dashboards with graphs that go on endlessly. It’s a part of my daily process to be aware of our Production systems and keep an eye on them to ensure they’re always operating at their best.</p><h4>Testing</h4><p>One of the most important parts of development is testing — from basic unit tests (e.g., ensuring each function in our code base works) to complex multi-system end-to-end testing (e.g., sending user requests to our Web Services and voice engine, and then sending a response back to the user). Making sure each part of every system is functioning correctly is vital in the development and monitoring of live services. So we need to keep tests up to date and run them regularly.</p><h3>What’s your favorite project that you’ve worked on at SoapBox?</h3><p>One area we’re always iterating are our test suites, which we use for areas such as acceptance, load, and stress testing. This is an ever-growing and evolving area that is very practical and gives us confidence when we deploy updates to our Web Services. Maintaining, refining, and iterating our test suites is an ongoing initiative to ensure our platform is as reliable and robust as possible.</p><h3>You’ve been at SoapBox for over six years. How has your role evolved?</h3><p>An aspect of working at SoapBox I have enjoyed over the years is how I was able to progress in my career and work on different projects and technologies. I started as a developer in a QA role, working with Unity and integrations of our speech technology into other systems. I then progressed to Software Developer, and then my job evolved into my Engineering role today, working with our Web Services and different programming languages, which I’ve been in for just over two years.</p><h3>What skills are needed to be successful in your role?</h3><p>Here are my top four:</p><ul><li><strong>Patience:</strong> This is key, as finding and solving engineering/coding problems can take time.</li><li><strong>Having a technical or analytical mindset:</strong> Being able to look at something and try to pick apart how it works or clicks together helps a lot as an Engineer.</li><li><strong>Experience:</strong> Just the practical application of working on codebases or live services will teach you so much more than you’ll ever learn from a textbook.</li><li><strong>Be ok with failure:</strong> The quicker you can break, fix, and iterate on problems the better you will become.</li></ul><h3>What’s your favorite thing about working at SoapBox?</h3><p>The culture! Working with a solid team that are so willing to share their time, experience, and ideas when working with such a wide range of technologies and systems. And we also like to have fun too. We have a lot of pun enthusiasts at SoapBox; everyday I post a joke from my pun calendar into our pun Slack channel, which inevitably leads to an endless thread of follow-up puns. And before COVID, I was a regular member of our Friday Lunch Crew, where a group of us would venture to a different lunch spot around Dublin. Now that we’re back in the office, I’m hoping to start this up again.</p><h3>Learn more about SoapBox</h3><p>Interested in being part of the team that builds the leading speech recognition technology for kids? Keep an eye out for open roles on our <a href="https://www.soapboxlabs.com/careers/">Careers</a> page. Plus, check out our <a href="https://medium.com/the-soapbox-tech-blog">Medium publication</a> for more tech blogs from our Speech Technology, Engineering, and Product teams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=466ad7e37e7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/a-day-in-the-life-of-a-software-engineer-at-soapbox-labs-joe-cheevers-466ad7e37e7a">A day in the life of a Software Engineer at SoapBox Labs: Joe Cheevers</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self-corrections: Introducing a new feature for automated oral reading assessments]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/self-corrections-introducing-a-new-feature-for-automated-oral-reading-assessments-f43b8a099709?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/f43b8a099709</guid>
            <category><![CDATA[reading-fluency]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[voice-technology]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[literacy]]></category>
            <dc:creator><![CDATA[Brenda McGuirk]]></dc:creator>
            <pubDate>Fri, 30 Sep 2022 10:39:04 GMT</pubDate>
            <atom:updated>2022-09-30T11:01:02.243Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An photo of a girl sitting at a desk in her bedroom. A laptop computer is in front of her, and she is wearing big headphones. The girl is smiling." src="https://cdn-images-1.medium.com/max/1024/1*FMjYjGkf_oP2_1BXXBxmYA.jpeg" /></figure><p>One of an educator’s many important responsibilities is monitoring the reading level and progress of every student in their classroom.</p><p>As students advance through the literacy journey, from learning to read to reading to learn, oral reading fluency data becomes crucial to measuring independent reading mastery, and identifying struggling and underachieving readers who require intervention and support.</p><p><a href="https://www.soapboxlabs.com/fluency/">SoapBox Fluency</a> — our speech technology solution for reading assessments — is designed to return deep, rich <a href="https://www.soapboxlabs.com/blog/how-data-is-reinventing-edtech/">data points</a> to teachers to help identify a student’s reading level and progress, support differentiated instruction, and inform intervention and lesson planning.</p><p>SoapBox Fluency currently returns the following data points in near real time to teacher dashboards, helping them to more easily track student progress and identify where a student may be struggling:</p><ul><li>Transcription of the reading</li><li>Words read</li><li>Word confidence (how confident our voice engine is that a specific word was said)</li><li>Phoneme confidence (how confident our voice engine is that a specific phoneme was said)</li><li>Number of words correct</li><li>Time stamps</li><li>Reading errors (substitutions, omissions, insertions, hesitations, and repetitions)</li></ul><p>Automatically receiving these data points frees up valuable teaching time and provides teachers and schools consistent and objective longitudinal data for every student.</p><p>SoapBox works closely with our literacy and <a href="https://www.soapboxlabs.com/language-learning/">language learning</a> partners to add new high-value features to our <a href="https://www.soapboxlabs.com/technology/">speech technology</a> solutions.</p><p><strong>Our newest feature for our Fluency solution is “self-corrections.”</strong></p><p>Below, we explain what self-corrections are, the role they play in a child’s reading process, and how they are analyzed by our speech technology.</p><h3>What is a self-correction in reading?</h3><p>Along with accuracy rate and errors, self-corrections are a key metric scored in <a href="https://literacypages.wordpress.com/2018/08/21/running-records-101-the-history-how-to-score-code-analyze/">running records</a> and observed oral reading fluency (ORF) assessments.</p><p>Definitions of “self-corrections” vary. For example, for <a href="https://dibels.uoregon.edu/about-dibels">DIBELS</a>, a widely-adopted system for assessing kids’ literacy skills, a <a href="https://dibels.uoregon.edu/sites/dibels1.uoregon.edu/files/2021-05/dibels_8_admin_and_scoring_guide_05_2020.pdf">self-correction</a> is when “a student makes an error but corrects it within three seconds.”</p><h3>Example of a child self-correcting</h3><p>A typical scenario of self-correcting is when a child gets the beginning of a word correct, the remainder incorrect, immediately notices their mistake and self-corrects it.</p><p>For example, when reading a passage, a child pronounces the word “Patch” as “Pat” then self-corrects to “Patch”:</p><p>“Look what the dog <strong>Pat Patch</strong> found.”</p><figure><img alt="A photo of a boy sitting in a library practicing his oral reading fluency with a voice-enabled reading app." src="https://cdn-images-1.medium.com/max/1024/1*NP0FOYVw3R9U7gojH7rfhg.jpeg" /></figure><h3>Why self-correction is important</h3><p>In an observed ORF assessment, a teacher is <a href="https://www.literacyworldwide.org/blog/literacy-now/2016/02/11/teaching-the-skill-of-self-correction">monitoring</a> a student’s comprehension, reading level, and reading process and marking their self-corrections.</p><p>Typically, self-corrections are not counted as reading errors but as a positive sign that a child is <a href="https://literacydoc.com/monitoring/">self-monitoring</a>, taking ownership of their reading, and comprehending the reading passage.</p><p>A recent <a href="https://www.tandfonline.com/doi/abs/10.1080/02702711.2019.1629518">study</a> found that self-correcting behavior “significantly and positively predicted early reading progress for struggling readers.”</p><p>However, pausing and self-correcting <a href="https://literacydoc.com/monitoring/">frequently</a> can also raise concerns about a child’s potential for accurate reading and may indicate fluency problems that require teacher intervention.</p><p>In intervention programs, self-correction metrics are important markers of the need for additional support and are sometimes treated as errors.</p><h3>Analyzing self-corrections with speech technology</h3><p>With the development of our new self-corrections feature, SoapBox offers education and edtech companies the flexibility to choose if and how they wish to surface data on self-corrections to teachers.</p><h4>Optimizing our self-corrections feature</h4><p>Here’s how SoapBox optimized our self-corrections feature for use in the classroom.</p><h4>How our voice engine identifies a self-correction</h4><p>Based on extensive research and customer validation, we have defined a self-correction as an inserted word immediately followed by a word that is flagged as correct. Within this broad definition, we identified three key use cases (which we explore in detail later in this post).</p><p>Additionally, two or more consecutive words in a child’s speech must be linked together in a meaningful way to count as a self-correction, rather than simply as a mistake followed by a correct word.</p><h4>How much time we allow between a mistake and a self-correction</h4><p>As mentioned above, a variety of different standards are applied to constitute a self-correction (e.g., the <a href="https://dibels.uoregon.edu/about-dibels">DIBELS</a> system allows three seconds or less). To ensure flexibility, SoapBox customers can choose the pause time that works best for their tool or product depending, for example, on whether their tool is used for practice or as part of a formal assessment.</p><p>As one of our customers explained during our research conversations:</p><blockquote><em>“I’m happy to see that SoapBox will offer self-corrections as a new data point. Very often, a child will struggle to decode, getting the first part of the word correct, struggling on the second part, and then self-correcting. This is probably the most common reading error.”</em></blockquote><h4>Our new set of self-corrections data points</h4><p>We’ve added a new set of data points to the JSON response (the analysis returned from our engine, as below) produced by our voice engine to accommodate self-corrections. These new points surface details that allow educators to correctly identify the self-corrected words and ignore those errors, if required.</p><p>The new data points that belong to the word-level structure are:</p><ul><li><strong>time_since_previous</strong>: Indicates how far (in seconds) a word is from the previous one</li><li><strong>self_correction: </strong>Flags if a correct word in the output is the self-correction of previous words</li></ul><p><strong>reparandums:</strong> Contains the list of word indexes to identify the insertion errors that are corrected by a self-correction word</p><figure><img alt="A JSON excerpt from the SoapBox voice engine showing the time_since_previous, self_correction, and reparandums data points." src="https://cdn-images-1.medium.com/max/1024/1*LUF_fb9RLbuLl13CLTTOrA.jpeg" /></figure><h3>3 use cases for self-corrections</h3><p>Our self-corrections feature supports three key use cases. They have been robustly validated with customers to ensure they address the majority of commonly made self-corrections in ORF.</p><h4>1. Repetition</h4><p>This use case improves our current repetition feature to account for self-corrections.</p><p>Our voice engine now examines a word confidence score and duration to differentiate a self-correction from an insertion. It looks for a pattern where a word is said with low confidence or high duration and is then followed immediately by a high-confidence or shorter duration version of the word.</p><p>If the repeated word has <strong>10% or higher confidence</strong> than the first time it was said, the second word is considered a self-correction of the first word.</p><p>If the repeated word has <strong>30%+ shorter duration</strong> than the first time it was said, the second word is considered a self-correction of the first word, even if the confidence is similar for both words.</p><p>This use case accounts for situations where a child takes a long time to utter a word (e.g., elongating the letters in a word, likely as an attempt to decode (sound out) the word without fully stopping speaking) and then says the word again more fluently.</p><p><strong>Example:</strong></p><p><strong><em>Higher confidence repeated word:</em></strong><em> A student is reading a passage. When they get to the word </em><strong><em>zig</em></strong><em>, they decode it and have poor articulation on the final part of the word. The student then repeats </em><strong><em>“zig”</em></strong><em> correctly.</em></p><figure><img alt="An image of a child reading a passage. The child stumbles over the word “zig” and repeats it with more confidence." src="https://cdn-images-1.medium.com/max/1024/1*PGqQoACnKtGPB-iRcFuI_A.png" /></figure><p><strong>JSON excerpt:</strong></p><figure><img alt="An example JSON excerpt from the SoapBox voice engine of a self-correction data point for the word “zig.”" src="https://cdn-images-1.medium.com/max/800/1*4W3HpZ6D1-0Zg9034Lm7Jw.jpeg" /></figure><p><strong><em>Shorter duration repeated word:</em></strong><em> The student continues reading. When they get to the word </em><strong><em>Phonzy</em></strong><em>, they slowly sound it out. Then they repeat </em><strong><em>“Phonzy” </em></strong><em>faster and more fluently.</em></p><figure><img alt="An image of a child reading a passage. The child slowly says the word “Phonzy”, but repeats the word and says it quicker and with more confidence." src="https://cdn-images-1.medium.com/max/1024/1*vMctnCCvXMsuySFc7v5rMw.png" /></figure><p>JSON excerpt:</p><figure><img alt="An example JSON excerpt from the SoapBox voice engine of a self-correction data point for the word “phonzy.”" src="https://cdn-images-1.medium.com/max/800/1*KHW---2zwLYPEYLE14Je1Q.jpeg" /></figure><h4>2. Phonetically similar words</h4><p>For this use case, the SoapBox voice engine looks for a pattern where a student reads a word incorrectly, but the incorrect word and correct word are phonetically similar, and the student self-corrects to the correct word.</p><p><strong>Example:</strong></p><p><em>In a passage, a student reads the word </em><strong><em>shed</em></strong><em> as </em><strong><em>“she.”</em></strong><em> They then self-correct to </em><strong><em>“shed.”</em></strong></p><figure><img alt="An image of a child reading a passage. She child mispronounces the word “she” and says “shed” instead. The child then self-corrects to “shed.”" src="https://cdn-images-1.medium.com/max/1024/1*eGdm3r6cAddYDmUugGN2fw.png" /></figure><p><strong>JSON excerpt:</strong></p><figure><img alt="An example JSON excerpt from the SoapBox voice engine of a self-correction data point for the word “shed.”" src="https://cdn-images-1.medium.com/max/800/1*R3jKatnCoymlOyt8uImq-Q.jpeg" /></figure><h4>3. Incorrect tense</h4><p>Our voice engine can also flag as a self-correction when the child has said the wrong tense of a verb (e.g., “walk” vs. “walked” vs. “walking”).</p><p><strong>Example:</strong></p><p><em>In a passage, a student reads the word </em><strong><em>bounding</em></strong><em> instead of </em><strong><em>“bounded.”</em></strong><em> They then self-correct to </em><strong><em>“bounded.”</em></strong></p><figure><img alt="An image of a child reading a passage. The child mispronounces “bounded” and says “bounding” instead. The child then self-corrects to “bounded.”" src="https://cdn-images-1.medium.com/max/1024/1*tyuEdbgxOvqioA_c8US3Sw.png" /></figure><p><strong>JSON excerpt:</strong></p><figure><img alt="An example JSON excerpt from the SoapBox voice engine of a self-correction data point for the word “bounded.”" src="https://cdn-images-1.medium.com/max/800/1*QUStSGuEvX1Sn3L3xHBi8Q.jpeg" /></figure><h3>To summarize</h3><p>At SoapBox, we’re committed to building a voice engine that is as — or more — accurate than human assessors; that understands kids of all ages, accents, and dialects; and that meets the needs of learning providers, educators, and students. Here’s what that means:</p><h4>For learning and assessment providers</h4><p>SoapBox now provides an additional data point that enables you to identify the three most common instances of oral reading fluency self-corrections and to surface self-correction metrics to teachers in a quick, easy, and digestible way.</p><p>As a SoapBox client observed in our research into self-corrections:</p><blockquote><em>“For us, the self-correction feature further improves scoring accuracy by distinguishing how early readers approach a word to get to the correct word reading versus an actual incorrect reading. And higher scoring accuracy provides more opportunities for automatic speech recognition in higher stake assessment use cases, which we are exploring for the future.”</em></blockquote><h4>For educators</h4><p>With a self-corrections metric, educators will have another important and actionable data point to help them monitor and track students’ fluent reading progress, personalize instruction, and offer intervention when needed.</p><h4>For students</h4><p>Automating the analysis and feedback of reading errors gives students the opportunity to practice independently and assess themselves more regularly.</p><h3>Want to learn more about our voice engine?</h3><p>If you’re ready to voice-power your oral reading assessments or other <a href="https://www.soapboxlabs.com/educate/">education</a> tools, we’re here to help.</p><p>Share your use case on our <a href="https://www.soapboxlabs.com/get-started/">Get Started</a> form and a member of our team will be in touch to discuss it further with you and explain how we can help.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f43b8a099709" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/self-corrections-introducing-a-new-feature-for-automated-oral-reading-assessments-f43b8a099709">Self-corrections: Introducing a new feature for automated oral reading assessments</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to diagnose common machine learning problems using learning curves]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/how-to-diagnose-common-machine-learning-problems-using-learning-curves-48f65ceaa696?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/48f65ceaa696</guid>
            <category><![CDATA[ml-model-validation]]></category>
            <category><![CDATA[learning-curve]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[voice-technology]]></category>
            <dc:creator><![CDATA[Valluri Saikiran]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 09:39:34 GMT</pubDate>
            <atom:updated>2022-07-14T09:42:28.711Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01W0jw2dLXXPssgie0iZAA.jpeg" /></figure><h3>Introduction</h3><p>Machine learning (ML) is core to our <a href="https://www.soapboxlabs.com/technology/">speech recognition technology</a> at SoapBox Labs.</p><p>Training, deploying, and evaluating an ML model is not a fully automated process and requires a lot of human supervision, as ML is privy to issues such as overfitting, underfitting, bias, and poor generalization. These problems can arise during training, testing time, or both.</p><p>At SoapBox, we require our models to achieve very high accuracy levels on challenging test sets for deployment. Anything short of meeting our rigorous standards is a matter of concern and we need to go back and evaluate the areas of the model to improve upon.</p><p>One way to do this is by analyzing <strong>learning curves</strong>.</p><p>Learning curve analysis provides a way to visualize problems with ML models and identify them early on.</p><p>In this blog, we will review what a learning curve is and how the structure or shape of a learning curve can help us diagnose common issues with ML model performance, as well as training and validation datasets.</p><h3>What is a learning curve?</h3><p>A learning curve is a plot representing the evolution of a model’s accuracy as training progresses over multiple <a href="https://machinelearningmastery.com/difference-between-a-batch-and-an-epoch/">epochs</a> or iterations. It also represents the measure of how much experience the model gains during the process of learning or optimizing itself on the training data.</p><p>Exactly speaking, a learning curve plots the average <a href="https://machinelearningmastery.com/how-to-choose-loss-functions-when-training-deep-learning-neural-networks/">loss function</a> value against the number of training epochs.</p><p>A loss function metric is the value that represents the error (or inaccuracy) estimate of the machine learning model for the target application. So the lower the loss, the better the model’s performance. Thus, ML model training involves minimizing the loss metric on the entire training dataset.</p><p>An ML model’s loss value is periodically monitored and validated on a <strong>validation dataset</strong> to keep track on how well the ML model is learning to generalize on unseen or unknown held out data during training.</p><p><strong>Training loss</strong> is the average loss function value per data sample computed on the training data. Likewise, <strong>validation loss</strong> is the average loss function value per data sample computed on the validation data.</p><h3>Diagnosing machine learning model performance</h3><p>By analyzing the shape of a learning curve, we can diagnose common machine learning problems and infer changes needed to improve the model.</p><p>There are three common ML model scenarios:</p><ol><li>Goodfit,</li><li>Underfit (or high bias), and</li><li>Overfit (or high variance).</li></ol><h4>Goodfit model</h4><figure><img alt="Graph representing a goodfit model." src="https://cdn-images-1.medium.com/max/367/1*21vxzhuQq-b1Bes0qfhyJQ.png" /><figcaption><a href="https://towardsdatascience.com/how-to-efficiently-design-machine-learning-system-caef9e05d5fb"><em>Image source</em></a></figcaption></figure><p>This graph represents a goodfit model scenario, meaning the model is fit for deployment.</p><p>The training and validation loss functions reach a minimal point of convergence after training for many epochs and there is a negligible gap between the two final values, with the training data loss being slightly lower than the validation data loss.</p><p>A goodfit speech recognition machine learning model would have a low word error rate (WER) on input speech from across various accents, dialects, or other speaker demographics.</p><h4>Underfit model</h4><p>An underfit model is a machine learning model that was unable to learn the training dataset.</p><p>There are two types of underfit models:</p><p><strong>Case 1</strong></p><figure><img alt="Graph representing an underfit model model" src="https://cdn-images-1.medium.com/max/404/1*gonAJj0aYyUURysrMSJveg.png" /><figcaption><a href="https://towardsdatascience.com/how-to-efficiently-design-machine-learning-system-caef9e05d5fb"><em>Image source</em></a></figcaption></figure><p>The first underfit model is represented by a loss curve that shows a flat line or noisy values of relatively high loss, indicating that the model was unable to learn the training dataset.</p><p>This case is evident with the training loss remaining flat after a slight decrease in value in the beginning epochs.</p><p>Generally while training speech recognition models, we combat this problem by selecting model architectures of increased complexity and high variance, increasing the number of model parameters, or increasing the input features dimension.</p><p><strong>Case 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*JECft0vipgPFn-Ko-yhX9Q.png" /><figcaption><em>Image source: SoapBox Labs</em></figcaption></figure><p>The second type of underfit model is represented by a graph where training loss continues to decrease even at the end of training epochs.</p><p>In this case, further training for more epochs may be needed.</p><h4>Overfit model</h4><p>An overfit model is an ML model that is too closely aligned to the training data. This means that it performs well for training data but not for the validation data. As such, it makes inaccurate predictions about new data since it’s unable to generalize.</p><p>There are two types of overfit models:</p><p><strong>Case 1</strong></p><figure><img alt="Graph representing an overfit model" src="https://cdn-images-1.medium.com/max/404/1*UyTWXNVz778azfLeL8xBuA.png" /><figcaption><a href="https://www.baeldung.com/cs/learning-curve-ml"><em>Image source</em></a></figcaption></figure><p>In the first type of overfit model, the training loss function continues to reduce with the number of epochs; whereas the validation loss function continues to decrease till a minimum value and then begins increasing.</p><p>In such scenarios in speech recognition models, we often use an early stopping <a href="https://machinelearningmastery.com/early-stopping-to-avoid-overtraining-neural-network-models/">criterion</a> based on the validation data loss value.</p><p><strong>Case 2</strong></p><figure><img alt="Graph representing an overfit model" src="https://cdn-images-1.medium.com/max/640/1*15dtaqesCoIpXD2VcETnQA.png" /><figcaption><em>Image source: SoapBox Labs</em></figcaption></figure><p>In the second type of overfit model, both the training and validation loss converge to a point of stability, but there is still a significantly large gap between their final values of convergence.</p><p>In <a href="https://www.soapboxlabs.com/">speech recognition</a>, this often means the model has perfectly learned the intrinsic characteristics or nuances of the training data but fails to generalize the unknown speakers’ <a href="https://www.soapboxlabs.com/blog/how-data-is-reinventing-edtech/">data</a> containing unseen <a href="https://www.soapboxlabs.com/blog/catering-to-accents-and-dialects/">accents or dialects</a>.</p><p>In such scenarios, we generally experiment by implementing standard data augmentation <a href="https://towardsdatascience.com/data-augmentation-for-speech-recognition-e7c607482e78">strategies</a> like adding noise, <a href="https://ai.googleblog.com/2019/04/specaugment-new-data-augmentation.html">spectral augmentation</a>, and speed and volume and pitch perturbations on the training data to help the model make more accurate predictions. It also helps to analyze the per-phoneme, age, accent, or gender statistics of the training data and add in more training data especially for the output target classes with less data counts.</p><p>Overfitting could also be mitigated by using ML regularization methods such as <a href="https://towardsdatascience.com/ridge-and-lasso-regression-a-complete-guide-with-python-scikit-learn-e20e34bcbf0b">Lasso and Ridge</a> or by applying <a href="https://machinelearningmastery.com/dropout-for-regularizing-deep-neural-networks/">dropout</a> strategies on the model parameters during training. Multi-task learning also might help to prevent overfitting in end-to-end speech recognition models like the <a href="https://www.merl.com/publications/docs/TR2017-103.pdf">joint CTC-Attention based speech recognition.</a> Using simpler model architectures with less variance and parameters might also help in combating overfitting problems.</p><h3>Diagnosing unrepresentative datasets</h3><p>In addition to helping diagnose common machine learning problems, learning curves can also help diagnose issues with training and validation datasets.</p><h4>Unrepresentative training dataset</h4><figure><img alt="A graph representing an unrepresentative machine learning model training dataset" src="https://cdn-images-1.medium.com/max/640/1*jYLj_dI6kIjFMN17JdKOnQ.png" /><figcaption><em>Image source: SoapBox Labs</em></figcaption></figure><p>An unrepresentative training data set is similar to the overfitting problem, with both the training and validation losses converging to their minimal loss values and a large gap existing between the two values after the training finishes.</p><p>This generally means that the training data doesn’t have enough information required to train the model for robust speech recognition on real-world speech utterances.</p><p>In such situations, we commission the ASR data collection for different accents or dialects which are least represented in the training data. In certain cases, data augmentation <a href="https://towardsdatascience.com/data-augmentation-for-speech-recognition-e7c607482e78">strategies</a> might also help on the training dataset.</p><h4>Unrepresentative validation dataset</h4><figure><img alt="A graph representing an unrepresentative machine learning model validation dataset" src="https://cdn-images-1.medium.com/max/523/1*nwD_8RxQY4t3iQiz49cEyA.png" /><figcaption><a href="https://machinelearningmastery.com/learning-curves-for-diagnosing-machine-learning-model-performance/"><em>Image source</em></a></figcaption></figure><p>With an unrepresentative validation dataset, we observe the training loss being higher than the validation loss. The validation loss in certain cases shows noisy movements around the training loss.</p><p>In speech recognition use cases, this implies that the model finds the validation speech data to be much easier to decode to text than the training data.</p><p>This might sound counterintuitive since the model is trained to minimize the loss function on the training dataset and is supposed to perform better on the training dataset. But what if the validation data was indeed containing easier examples for speech recognition?</p><p>For example, the validation dataset might contain clean speech audio samples, which the speech recognition model could decode more accurately. In such a situation, we add more difficult, real-world noisy data samples to the validation dataset.</p><h3>Conclusion</h3><p>Here’s a recap of what we covered:</p><ol><li>A learning curve is a plot representing the evolution of a model’s accuracy as training progresses over multiple <a href="https://machinelearningmastery.com/difference-between-a-batch-and-an-epoch/">epochs</a> or iterations.</li><li>By analyzing the shape of a learning curve, we can diagnose common machine learning problems and infer the changes needed to improve the model.</li><li>There are three common types of learning curves: goodfit, underfit, and overfit.</li><li>We can also use learning curves to diagnose issues with our training and validation datasets.</li></ol><h3>Want to learn more about SoapBox Labs?</h3><p>Visit <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> for the latest articles and stories from our Speech Tech, Engineering, and Product teams on how our voice engine works and tips and tricks for designing voice experiences for kids.</p><p>If you enjoyed this blog, you may also want to check out:</p><ul><li><a href="https://www.soapboxlabs.com/blog/an-introduction-to-mlops-benefits-principles-and-applications/">An introduction to MLOps: Benefits, principles, and applications</a></li><li><a href="https://www.soapboxlabs.com/blog/the-role-of-nlg-in-conversational-ai/">NLG in conversational AI: The challenges of generating language</a></li></ul><p>Also, visit our <a href="https://www.soapboxlabs.com/">website</a> for use case videos, more about our technology and company, and many additional <a href="https://www.soapboxlabs.com/resources/">resources</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48f65ceaa696" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/how-to-diagnose-common-machine-learning-problems-using-learning-curves-48f65ceaa696">How to diagnose common machine learning problems using learning curves</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NLG in conversational AI: The challenges of generating language]]></title>
            <link>https://medium.com/the-soapbox-tech-blog/the-role-of-nlg-in-conversational-ai-649ff09d8fea?source=rss----239e83a35aa9---4</link>
            <guid isPermaLink="false">https://medium.com/p/649ff09d8fea</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[dialogue-systems]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[naturallanguagegeneration]]></category>
            <dc:creator><![CDATA[Agapedeng]]></dc:creator>
            <pubDate>Fri, 20 May 2022 09:53:56 GMT</pubDate>
            <atom:updated>2022-05-20T10:04:42.162Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An animated image of a robot talking to depict conversational AI." src="https://cdn-images-1.medium.com/max/1024/1*mewMYnfB2H3DjA4sUrhKlQ.jpeg" /></figure><p>“Siri, where does Santa live?”</p><p>“He’s in your heart and at The North Pole. Mostly at the North Pole,” comes the tart, prompt reply from Apple’s famous digital assistant.</p><p>Technologies like Siri rely on machine learning, big data, and <a href="https://www.soapboxlabs.com/blog/lessons-from-our-voice-engine-1-nlp/">natural language processing (NLP)</a> to respond to human requests in a sensible, helpful, and sometimes playful way. Because they are designed to mimic natural human dialogue, they are often referred to as dialogue systems, or conversational AI.</p><p>Though digital assistants may appear to have different personalities, most of them share certain similar components that work together to make conversation possible.</p><p>In this blog post, we will briefly skim each component’s role in a classic, goal-oriented dialogue system before diving into the particular challenges that the natural language generation (NLG) component faces.</p><h3>Components of a goal-oriented dialogue system</h3><figure><img alt="A graph depicting the components of dialogue system: speech recognition, natural language understanding, dialogue manager, natural language generation, and text to speech." src="https://cdn-images-1.medium.com/max/1024/1*gKeX15feThSQ20r7-26nMw.jpeg" /><figcaption>Components of a goal-oriented dialogue system</figcaption></figure><h4>Automatic speech recognition (ASR)</h4><p>When a user utters a request to a conversational agent as in the image above, “Can you play me a song?” the acoustic signal first goes to the automatic speech recognition (ASR) module and is converted to text. It is imperative that this module achieves a high level of accuracy as it affects all downstream tasks and, ultimately, the ability for the system to respond appropriately.</p><p>At<a href="https://www.soapboxlabs.com/"> SoapBox Labs</a>, our speech technology is tailored to children’s voices, and with the help of <a href="https://medium.com/the-soapbox-tech-blog/custom-language-models-97b4162cad8d">custom language models</a>, can achieve a best-in-class accuracy on par with humans for kids of all ages, accents, and dialects.</p><h4>Natural language understanding (NLU)</h4><p>The text from the ASR module is then fed to the NLU module, where the user’s intent and crucial bits of detail, such as date and genre, are extracted into a formal, logical representation that the system can use. (You can read more on this at “<a href="https://medium.com/the-soapbox-tech-blog/intent-recognition-c5f90e350840">The importance of intent recognition in speech tech for kids</a>.”)</p><p>In the diagram example, the intent is <em>request_music</em>. This formal representation of the user intent is next fed to the dialogue manager.</p><h4>Dialogue management (DM)</h4><p>The DM is the “brain” component of a dialogue system that decides what the system should do or say in response. It outputs the system’s action in the form of a logical representation, which becomes the input to the NLG module.</p><p>In this case, the DM has decided that the best next action is to request that the user specify a genre of music. Oftentimes, the DM may query a database to provide knowledge-based responses.</p><h4>Natural language generation (NLG)</h4><p>This module is responsible for converting the DM’s formally represented action into human-friendly, well-formed, grammatical sentences. For example, if the system’s action were to recommend a song, the NLG component might take the logical form such as the below and generate sentences such as 1 and 2.</p><p>recommend(song name= Twinkle, Twinkle, Little Star, genre= lullaby)</p><p>1. How about the lullaby Twinkle, Twinkle, Little Star?</p><p>2. Would you like to hear the Twinkle, Twinkle, Little Star lullaby?</p><h4>Text to speech (TTS)</h4><p>Finally, if the dialogue system is a spoken one, where voice is the medium for interaction, the generated text is sent to a TTS module where it is rendered in a life-like voice that aligns with the brand’s image and use case.</p><h3>The challenge for NLG</h3><p>Your own experience would confirm that generating language is a cognitively more difficult task than understanding the same. Babies can understand words long before they are able to speak them. Multiple choice questions are easier than open questions that require written responses. Difficult mathematical concepts have to be understood before you can explain them to others. These all highlight the difference between what psychologists call recognition versus recall tasks. Advancements in deep neural nets have lent themselves well to solving recognition tasks such as ASR and NLU; but their effects on recall tasks such as NLG, especially in industrial applications, are still limited.</p><p>“Wait a minute,” the astute reader might say. “What about GPT-2 and 3, the ‘chameleon-like’ transformer models that can generate coherent texts, pen poems, and wax philosophical?”</p><p>While it is true that the release of GPT-2 in 2019 marked a breakthrough for NLG and has been used to great effect in building chatbots with personas and humor, there are a number of reasons why they are not often employed in industrial applications.</p><h3>High stakes</h3><p>The biggest reason is perhaps the fact that businesses, with their reputations and clients at stake, require high precision and control over the output of their digital agents. End-users largely form their impression of an entire system based on the NLG output because it has the highest visibility. Thus, companies cannot risk non-deterministic outputs that could potentially be ungrammatical, non-compliant, non-sequitur, or offensive. For this reason, models like GPT lend themselves better to entertainment chatbots where conversations can be meandering and users are more forgiving, compared to task-oriented dialogue agents where every turn must contribute to a user’s end goal.</p><p>Another, rather obvious reason is that the current approach of using hand-crafted, rule-based templates is hard to beat in terms of precision and reliability. When the domain is limited and clearly defined, templates provide adequate coverage, are easy to develop, and can be exhaustively tested, ensuring quality and compliance. For most companies, reliability is paramount; thus, despite their drawbacks of inflexibility, difficulty in scaling, and lack of lexical variability, they are still preferred in business applications over state-of-art, deep learning approaches, as the latter presents a point of risk.</p><h3>Conclusion</h3><p>Today, with the availability of developing options, from leading commercial cloud offerings like Google’s Dialogflow to open-source solutions like RASA and botpress, bringing a dialogue system to production is easier than ever before. Many of these solutions provide all the basic components of a dialogue system out of the box but also offer the flexibility to integrate custom models via an API, giving developers more control over the architecture of the system.</p><p>Developers may want to plug in their own or third-party components if the native components do not support a certain language or if they want the system to perform well for a specific demographic. For example, a dialogue system designed for children could benefit from an ASR model that was custom-built for kids, such as the ones built at SoapBox Labs. Achieving higher accuracy from the get-go ensures that the rest of the system can flow seamlessly.</p><h3>Want to learn more about SoapBox Labs?</h3><p>Check out our <a href="https://www.soapboxlabs.com/">website</a> for use case videos and more about our technology and company, or email us at hello@soapboxlabs.com.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=649ff09d8fea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-soapbox-tech-blog/the-role-of-nlg-in-conversational-ai-649ff09d8fea">NLG in conversational AI: The challenges of generating language</a> was originally published in <a href="https://medium.com/the-soapbox-tech-blog">The SoapBox Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>