首页 > 其他分享 >EE4002D AI-Based Teaching

EE4002D AI-Based Teaching

时间:2024-10-17 19:31:53浏览次数:1  
标签:Cons Based AI chatbot based Pros Teaching more

Comments from 02/09 meeting with Prof Rajesh Total $2000 budget to use!Could use a not so L model if locallyProject Template:-Problem statement

-Various options [Pros and Cons]-Specific Approaches and implementation [Split to 2 if need be]*

-What could be done/improved.

-Conclusion Future directionsProject Template: AI Teaching Chatbot ( based on the above requirements )

  1. 1) Problem StatementIn traditional education, students often struggle to receive individualised attention, especiallyin large classes or online environments. The increasing demand for personalised learning,cost-effective teaching, and 24/7 availability has spurred interest in AI-powered teachingchatbots. These AI chatbots aim to provide real-time, tailored assistance to students, fillinggaps in human instruction and making education more accessible. However, challengesrelated to the effectiveness, adaptability, and human-like interaction of such chatbots remainto be addressed.
  1. 2) Various Options (Pros and Cons)
  2. a) Rule-Based AI Chatbots:Pros:

○ Easy to implement.○ Clear, predictable responses.

○ Works well for structured or fact-based lessons.Cons:

○ Limited in scope and flexibility.

○Unable to understand complex questions or adapt to unstructured dialogue.○ Requires frequent manual updates.

  1. b) Machine Learning-Based Chatbots:
  • Pros:

 Can learn from interactions, improving over time.

 More flexible and capable of handling open-ended questions.

○ Can offer personalized responses based on user data.

  • Cons:○ Complex to develop and maintain.○ Requires a large amount of training data.○ May struggle with ambiguous or nuanced questions.
  1. c) Hybrid Models (Rule-Based + ML):
  • Pros:

○ Combines predictability with adaptability.

○ Can handle structured lessons while adapting to more complex interactions.

○ More robust and scalable.

  • Cons:

○ More resource-intensive to develop.

○ Requires constant tuning and maintenance.

○ Integration challenges between rule-based logic and machine learningcomponents.

  1. d) Fine-tuning an Existing LLM:

Pros: Tailored to specific educational content, incorporating domain-specificknowledge and terminology, potentially improving performance on educationalqueries.

Cons: Requires extensive high-quality, domain-specific training data;

computationally expensive; may struggle with providing up-to-date

information.

  1. e) Basic Retrieval Augmented Generation (RAG):

Pros: Merges the strengths of pre-trained language models with externalowledge retrieval, enhancing factual accuracy and access to currentnformation. It’s also more flexible and easier to update代 写EE4002D AI-Based Teaching  than fine-tunedmodels.○ Cons: Requires careful curation of the knowledge base; may face challengeswith complex reasoning tasks requiring integration of multiple informationpieces.

  1. f) Advanced RAG Techniques (e.g., RAG Graphs):

Pros: Superior handling of complex queries and multi-hop reasoning,

improved context understanding, and more natural and coherent responses.

Cons: Increased implementation complexity, higher computational demands,and as an evolving research area, it presents potential challenges.

  1. g) Long Context Model

Pros: Ergonomically easier to use

Cons: Slow and expensive3) Specific Approaches and Implementation

  1. a) Natural Language Processing (NLP) Integration:
  • NLP helps the chatbot understand and process human language. Implementingpre-trained models like GPT or BERT can enhance the chatbot’s ability to interpret

and generate relevant responses.

  • Implementation:

○ Leverage APIs from cloud platforms (e.g., Google Cloud AI, IBM Watson) tointegrate NLP capabilities.

○ Fine-tune models using education-specific datasets to improve contextrecognition and relevance in responses.

  1. b) Knowledge Graphs and Rule-Based Engines:
  • Create a structured database of knowledge and predefined rules to guide the

chatbot’s responses for fact-based queries.

  • Implementation:

 Develop a comprehensive knowledge base that aligns with the curriculum.

○ Implement decision trees and if-then logic for specific topics (e.g.,

mathematics, history).

  1. c) Adaptive Learning Algorithms:
  • Personalise learning paths based on the student's performance and engagement.se AI to assess learning gaps and adjust difficulty levels dynamically.
  • Implementation:○Employ reinforcement learning algorithms to dynamically adjust the difficultyof questions.

○ Collect student interaction data to continuously improve and tailor the

chatbot’s learning suggestions.

  1. 4) What Could Be Done/Improved
  • Incorporation of Emotion Detection: Chatbots could be enhanced with sentiment analysis to better gauge studentfrustration or confusion and respond accordingly, mimicking the empathy ofhuman achers.
  • Multimodal Learning Support:

○Integrating visual and audio aids into chatbot responses can create a morenteractive learning environment, especially for complex subjects that requirediagrams or step-by-step guidance.

  • Enhanced Context Awareness:

○ Improve the chatbot’s ability to remember past interactions, allowing for moremeaningful and context-aware follow-up questions or lessons.

  • Support for Multilingual Learning:○ Expanding chatbot capabilities to multiple languages could help bridge

educational gaps globally and make learning more accessible in non-Englishspeaking regions.

  1. 5) Conclusion and Future DirectionsAI teaching chatbots hold the potential to revolutionise education by offering scalable,personalised, and on-demand learning. While existing solutions show promise, there is roomfor improvement in emotional intelligence, contextual understanding, and multimodalcapabilities. Future developments could focus on refining AI models to become more

human-like in their interaction and empathy, as well as incorporating new advancements inAI to better detect and address student needs. These improvements wouldnot only enhancethe effectiveness of teaching chatbots but also broaden their applicability across different

educational domains, cultures, and languages.The future of AI-powered education could see chatbots evolving into integral tools thatcomplement, rather than replace, traditional teaching, making learning more accessible andpersonalised worldwide.

- Look for existing tools and similar implementations we can leverage on to start from, don'tneed to start from scratch

- $2000 budget total for subscriptions, etc.- Work towards a more clearly distribute workload by the end of sem

- By end of semester,

  1. Goals and timeline for project
  2. Individual report -> Specific literature, tools, techniques explored (beyond the combinedreport, more of an individual journey that led to the combined result)
  1. Group dissertation-> More like the final reportMeet every 2 weeks (fri afternoons 2pm+) - next meeting 13 Sep (Fri)

Week 12-13 presentation individual and groupDecide and split Who doing whatFocus on ideationReasoningOptions and possibilities that have been exploredDocumentation and citationPlan for following semester:Gan Chart

Individual portfolio talk more about specific design choices[Tools and sources explored]Group dissertation is project report5 . attention is all you need

  1. handwritten digit recognition with backprop network : yan Lecun
  2. An image is worth 16x16 words : ViT
  3. LoRA
  4. RAG for knowledge intensive taskLearning to summarise from human feedback

Open-source Chatbot UI (https://github.com/mckaywrigley/chatbot-ui)

Setting up Chatbot UI:

Using local browser storage which would limit the features we can have due to:

  1. Security issues
  2. Limited storage and multi-modal use cases.Hence, we would need to run a database in the backend. The Chatbot UI uses Supabase,which is a database infrastructure built on Postgres.

 run Supabase locally, we will be using Docker for easy setup, consistency acrossdifferent environments, and to avoid compatibility issues. (Handle database, file storage,server functions, etc.)To run LLMs with Chatbot UI locally, we need to install Ollama. Packages everything neededto run an LLM locally – model weights, configurations, etc – into a single Modelfile.Running Chatbot UIThe login screen is an authentication that is running locally in the Docker instance of

Superbase.Using LLMs

  1. Hosted (API Keys): Most of them require a subscription to be able to use the API Keys.
  2. Local: Models can be downloaded locally using Ollama. Usability depends on RAMavailability.Uploading file error:

-Implementation issue?Potential Uses or References:The developers of Chatbot UI mentioned that "We support forks. This is all MIT licensed

open-source code so feel free to fork it, tear it up, and do whatever you want with it. It is

totally on you to build whatever you want, this is merely our take on it." and "We encourage

ou to fork the code and implement your own backend."

-Possibly take reference to the UI for our own chatbot - the way they structured it tobe used with multiple different LLMs of the user’s choice.

-We can make use of Ollama for local deployment of LLMs, depending on ourimplementation.

-Similarly to Supabase, we can use BaaS for easier backend management - filestorage and database management, authentication and user management, etc.For BaaS, we can consider Supabase or Firebase (a similar tool that I have used before):

Firebase:

-Database - Uses Firestore (NoSQL document-based database) known for real-timedata synchronisation, making it ideal for chat applications, collaborative tools, andother use cases where real-time updates are crucial.

-Authentication - Firebase Authentication supports a wide range of methods includingemail/password, OAuth (Google, Facebook, Twitter), and phone authentication.-

Storage - Offers Firebase Cloud Storage, primarily designed for handling largeamounts of unstructured data like images, videos, and other binary objects.Designed to store files like images, videos, audio, and other media. Optimised forstoring andretrieving large files and can integrate well with Firebase Authentication

and Firebase Database services for managing file access.(Data stored in Firebase Cloud Storage can be accessed via URLs or file paths and

as features like access control, automatic scaling, and data redundancy)

Supabase:

-Database - Built on PostgreSQL (relational SQL database) which is good forapplications where structured data, complex querying, and transactional integrity arerequired.

-Authentication - Supabase Authentication is based on GoTrue and supportsemail/password, OAuth providers (Google, GitHub, Twitter), and third-party providers.Fully integrated with PostgreSQL for role-based access control.

-Storage - Provides Object Storage using S3-compatible storage, which is moreflexible and can also be used for handling large media files and other content.Also able to store and manage files such as images, videos, and documents, andaccess can be controlled through the Supabase Auth system.(Files are stored as objects and can be accessed via URL or API)Meeting #2 (04/10)More references with informationAuthentic References scientific publicationsFocus more on the ML part, Frontend and Backend can be bootstrapped, so all hands ondeck for Machine Learning PartBy CA1, develop basic applications for tasks such as chatbot to query models etc.

标签:Cons,Based,AI,chatbot,based,Pros,Teaching,more
From: https://www.cnblogs.com/comp9313/p/18472941

相关文章

  • 你真的了解,Data+AI下的数据要素吗?
    你真的了解,Data+AI下的数据要素吗?前言数据要素的崛起:从无形到有价你的数据不是“垃圾”,它只是缺乏打磨Data+AI的化学反应:从数据治理到智能决策数据治理的三个核心要素Data+AI下的未来趋势结语前言“数据”是当下每个人嘴里都挂着的词,特别是在互联网、大数据和AI圈里......
  • 【奶奶看了都会了】AI绘画 Mac安装stable-diffusion-webui绘制AI妹子保姆级教程
    1.作品图2.准备工作目前网上能搜到的stable-diffusion-webui的安装教程都是Window和MacM1芯片的,而对于因特尔芯片的文章少之又少,这就导致我们还在用老Intel芯片的Mac本,看着别人生成美女图片只能眼馋。所以这周末折腾了一天,总算是让老Mac本发挥作用了。先来说说准备工作:......
  • 抖音小红书AI真人美女套图,如何变现?来看详细玩法!(附教程)
    介绍前两天给大家出了一个真人美女写真类的玩法,结合网盘拉新,有的小伙伴已经开始变现有收益了。今天给大家把玩法再升级一下,首先确保AI生成的人物一致,其次变现的方式也更多。先看两组图片吧这类的内容如果我不说,你是不是以为都是真人呢?因为这个账号,不管人物是什么......
  • Maixpy k210开发板入门一
    Maixpyk210开发板入门一作者:福州大学切记我是一个温柔的刀客2024/10/171.Maixpydockk210背景Maixpy简介MaixPy是由Sipeed团队(中国深圳)开发的一个强大的嵌入式Python解释器,专为SipeedMaix系列开发板设计。它提供了丰富的功能和库,支持图像处理和机器学习,适......
  • AI时代的破局之战,构筑3大内在生存体系:智慧+能量+知行合一
    二十年的离火运,科技必然乘势而盛,AI时代将淘汰更多行业和职业。AI是人类经验的总结和延伸,是强大的生产工具,其处理能力远超人脑。AI没有弱点吗?AI没有人的七情六欲和感知能力,无法创造出充满灵性和灵魂的作品;AI的文字输出虽然完善而高效,却缺乏触动人心的力量。尽管如此,AI的出现......
  • AI 3D拣选系统行业分析:物流行业是最主要的需求来源
    AI3D拣选系统是一种集成了先进传感技术、机器人技术和计算机视觉技术的自动化分拣解决方案。它能够在三维空间内快速、准确地识别和分拣各种形状、大小和材质的物品,大大提高了物流效率和准确性。该系统通过高精度的3D传感器和先进的视觉算法,能够实时捕捉物品的三维信息,并据此......
  • 架构师的AI数据栈互操作性指南
    AI的未来是开放的,互操作性是您在任何技术堆栈中保持领先地位的通行证。译自TheArchitect’sGuidetoInteroperabilityintheAIDataStack,作者BrennaBuuck。随着人工智能(AI)和机器学习在各行各业的不断扩展,数据架构师面临着一个关键挑战:在日益碎片化和专有的生态系统中确......
  • Ollama + LangChain: 本地运行LLM大语言模型
    简介在大型语言模型(LLM)领域,Ollama和LangChain已经成为开发人员和研究人员的强大工具。Ollama提供了一种无缝本地运行开源LLM的方式,而LangChain提供了将模型灵活集成到应用程序中的框架。本文将介绍如何设置和使用Ollama和LangChain,以便能够在项目中利用LLM的强大功能。搭建Ollam......
  • 第147篇:开发中Promise的使用(async,await)
    好家伙, 0.错误描述今天在开发中犯了一个比较严重的错误对于Promise的错误使用 场景:微信小程序中展示搜索条件列表//API请求工具函数constapiRequest=(url,method='GET',headers={})=>{returnnewPromise((resolve,reject)=>{wx.request({......
  • Midjourney AI绘图技术教程:开启您的创意之旅
    在这个由数据和算法驱动的时代,人工智能(AI)已经渗透到我们生活的方方面面,包括艺术创作。今天,我向大家介绍一套专注于AI绘图的教程资源——Midjourney技术教程,旨在帮助您掌握利用AI进行艺术创作的技能。教程内容概述这套教程精心设计,旨在从基础到高级技巧,系统地引导您了解和掌握......