AI as a Partner in Learning

Although some see artificial intelligence (AI) as our potential nemesis, there is great scope for it to become a transformative ally. In the field of education, AI is already beginning to reshape roles, enhance capabilities, and pose new challenges for educators, students, administrators and support staff. Arguably, we are heading towards a future in which AI’s role is that of a collaborative partner in the educational journey. How might that play out in a university context?

Faculty Engagement with AI. Faculty will be reimagining curricula, integrating AI and analytics to mirror real-world business complexities. Adaptive learning technologies will enable personalized teaching that caters to individual student needs and learning paces. AI will become an indispensable research tool.

The Learner’s Journey. AI will revolutionise the learner’s journey, providing tailored educational experiences and support systems that respond to individual learning styles. It will prepare students for an AI-infused business landscape, equipping them with the skills to excel and the ethical grounding to navigate the complex moral terrain of AI in business.

The Administrator’s View. Administrators will need to steer the strategic integration of AI in business education, aligning it with institutional goals while balancing budgets against the potential ROI from AI investments and crafting policies to uphold ethical standards and robust data governance.

The Support Framework. IT departments will be responsible for constructing the infrastructures needed to support AI initiatives. They will have an important role in focusing knowledge about AI utilization and safeguarding against cybersecurity threats in this new, dynamic academic landscape.

Career Pathfinding – AI’s Role in Career Services. Career services will evolve to focus on equipping students with the AI competencies demanded in the job market. They will strengthen ties with AI-forward businesses to create new opportunities for students. Career advisers will adapt to guide students through the complexities of an AI-integrated workplace.

The Knowledge Keepers. Librarians will manage AI-driven learning resources and databases. They could become pivotal in fostering information literacy within an AI context, guiding students to discern and utilize AI-generated content responsibly.

Beyond Graduation – Alumni and External AI Engagement. Alumni relations will extend into lifelong learning opportunities, with AI-based programs supporting continuous professional development. AI will enhance alumni networking, fostering stronger connections and engagement through intelligent platforms. Partnerships with industry will be cultivated, leveraging AI to foster collaboration and innovation beyond the campus.

Ethical Considerations. Compliance officers will monitor AI applications for adherence to the required educational standards. This will include identifying and mitigating AI bias, and actively promoting inclusivity. Their oversight will be crucial in aligning AI’s use with the core values and ethical commitments of the institution.

Holistic Support – AI in Student Services. Student services will harness AI tools for the early detection of wellness issues, proactively addressing student needs. AI will also enhance accessibility services, ensuring all students benefit from educational resources. Personalized support, informed by AI insights, will become the new standard in student care.

Marketing AI in Education. Marketing teams will showcase the institution’s commitment to AI in education, highlighting innovative programs and cutting-edge learning environments. Outreach and recruitment strategies will be tailored using AI analytics to attract a diverse, tech-savvy student body. Communicating the advantages of AI will become key in positioning the institution as a leader in future-focused education.

Long-term memory for Generative AI

Large language models (LLMs) such as ChatGPT have embedded within them and can make use of the huge amount of information they were fed during training. A user is able to access that embedded knowledge by giving the LLM instructions during the course of a conversation with it. At present, however, the LLM has a limited capacity to remember the details of a conversation; that capacity is determined by the size of its context window.

The context window is the part of the input text that the LLM processes when producing the next word in its response to an instruction. Although it varies across different LLMs, the context window is typically a few thousand words. Once the conversation exceeds the size of the context window, the LLM is unable to make use of everything the user has input over the course of the conversation; it ‘forgets’ things from earlier parts of the conversation. The context window can be increased in size, but that increases the amount of processing that has to be done to produce a response and that further increase soon becomes impractical. Researchers at UC Berkeley are exploring one approach to get around this limitation and have explained it in their paper MemGPT: Towards LLMs as Operating Systems.

In MemGPT, they have given the LLM a memory system similar in principle to that of a personal computer (PC). They call the context window the LLM’s main context and view this as its short-term memory, analogous to a PC’s Random Access Memory (RAM). In addition, MemGPT has been given an external context analogous to a PC’s disk drive or solid state drive. The external context comprises:
recall storage which stores the entire history of events processed by the LLM processor, and
archival storage which serves as a general read-write datastore that can serve as overflow for the main context.

During a conversation, archival storage allows MemGPT to store facts, experiences, preferences, etc. about the user, while recall storage allows MemGPT to find past interactions related to a particular query or within a specific time period. For document analysis, archival storage can be used to search over (and add to) an expansive document database.

To achieve the above, MemGPT’s main context is divided into three components:
system instructions set out the logic for how MemGPT functions control the interaction with external context;
conversational context holds a first-in-first-out (FIFO) queue of recent event history (e.g., messages between the LLM and the user); and
working context serves as a working memory scratchpad.

System instructions are read-only and pinned to main context (they do not change during the lifetime of the MemGPT agent).
Conversational context is read-only with a special eviction policy (if the queue reaches a certain size, a portion of the front is truncated or compressed via recursive summarization).
Working context is writeable by the LLM processor via function calls.

Combined, the three parts of main context cannot exceed the underlying LLM processor’s maximum context size.

The growth in ChatGPT’s capability

The capabilities of ChatGPT are increasing at pace. The latest upgrade turns it into a multimodal AI. Instead of being restricted to text-only input and output, ChatGPT can now accept prompts with images or voice as well as text and can output its responses in one of five AI-generated voices. A user can switch seamlessly between text, image and voice prompts within the same conversation.

Browse with Bing enables ChatGPT to search the internet to help answer questions that benefit from recent information.

Advanced Data Analysis (formerly called Code Interpreter) enables ChatGPT to upload and download files, analyze data, do maths, and create and interpret Python code. These are powerful capabilities but there are restrictions which include: no internet access; a limited set of preinstalled packages; maximum upload and runtime limits; state is cleared (along with any generated files or links) when the environment dies.

Open Interpreter is an open source project which seeks to overcome the restrictions of Advanced Data Analysis. Open Interpreter runs in your local computer and interacts with ChatGPT. It has full access to the internet, is not restricted by time or file size, and can utilize any code package or library. Thus Open Interpreter combines the power of GPT-4’s Advanced Data Analysis with the flexibility of your local development environment.

Plugins enable ChatGPT to interact with functionality provided by other systems. Examples are:
Wolfram Plugin for ChatGPT gives it access to powerful computation, accurate maths, curated knowledge, real-time data and visualization through Wolfram|Alpha and Wolfram Language.
Show Me ChatGPT Plugin allows users to create and edit diagrams directly within a conversation in ChatGPT. 
There is a growing number of plugins; some are shown here.

Plugins expand ChatGPT’s capability

ChatGPT has the ability to make use of third-party plugins which give it access to external sources of information. This is useful because it enables to AI to apply its impressive language capabilities to information that was not in its training data and, unlike the training data which is now two years old, that information can be current.

ScholarAI is a ChatGPT plugindesigned to provide users with access to a database of peer-reviewed articles and academic research“. In this conversation with ChatGPT, I explore a little of what the AI can do when the ScholarAI plugin has been installed. I found that it was able to search for papers, on a given subject, summarise the content of a paper, and answer questions about that content. I have not yet investigated the quality of the answers provided.

Plugins can also provide ChatGPT with additional functionality. In an earlier post, I mentioned the prospect of the AI interfacing with Wolfram Alpha. The Wolfram Alpha plugin is one instance of that, and it enables ChatGPT to give correct answers to prompts that require computation. See below for an example. We can be confident that answers obtained from Wolfram Alpha are of high quality.

There are many plugins to choose from. Websites such as whatplugin.ai can help us to find the ones we need.

Continue reading “Plugins expand ChatGPT’s capability”

Computational powers for ChatGPT

Being a Large Language Model neural net, ChatGPT cannot by itself do non-trivial computations nor be relied upon to produce correct data. Recent months, however, have seen ChatGPT being linked with Wolfram|Alpha and the Wolfram Language to give it a powerful computational capability. In his blog post ChatGPT Gets Its “Wolfram Superpowers”!, Stephen Wolfram uses some examples to explain the current scope of this combined capability and to hint at the revolutionary power of its future potential.

Steve Blank’s blog post Playing With Fire – ChatGPT looks at that combined capability from another perspective. He highlights that not only is ChatGPT good at what is was designed to do but that it is demonstrating emergent behaviours (things it was not designed to do) which were not seen in its smaller-scale predecessors. He points out, also, that ChatGPT is beginning to interact with a variety of other applications through an application programming interface. These applications can be used by ChatGPT to enhace its own capabilities. Conversely, the applications can harness ChatGPT’s capabilities for their separate, third-party purposes. These increasingly complex systems will display emergent properties, ie properties that the individual parts of the system do not have on their own but which emerge when the parts interact as a whole. Some of the emergent properties will occur by design, but it is inevitable that there will be some which cannot be predicted.

We are still some way from artificial general intelligence, but that is the direction of travel and we should be concerned that the continued development of this technology is driven by for-profit companies, venture capitalists and autocratic governments without any means of control.

A pocket calculator for ChatGPT

ChatGPT can respond to a question presented to it in natural language and is proving to be good at producing a human-like answer. But the answer is not always correct, and this is especially the case when the question involves quantitative data. In this respect ChatGPT is similar to most humans: we find it easy to write an essay but struggle to include correct facts and figures about the subject where these require us to do complicated calculations. Give us a pocket calculator, however, and we can do very much better. Is there a pocket calculator that ChatGPT could use?

Stephen Wolfram believes there is. In Wolfram|Alpha as the Way to Bring Computational Knowledge Superpowers to ChatGPT, he explains that Wolfram|Alpha is able to accept questions in natural language which it then converts into “precise, symbolic computational language [the Wolfram Language] on which it can apply its computational knowledge power” and then produce an answer in natural language. In other words, because ChatGPT communicates using natural language it is in principle able to use Wolfram|Alpha as its pocket calculator.

A possible next step, which Stephen Wolfram says has already started, is for ChatGPT to learn how to use Wolfram Language directly in the same way that humans do. This could enable ChatGPT to produce computational essays which bring together three elements: text to describe context and motivation; computer input in Wolfram Language for a precise specification of what is being talked about; and computer output for facts and results, often in graphical form. A key point here is that the Wolfram Language enables each piece of computer input to be short, not more than a line or two, and to be understandable both by the computer and by a human reading the essay.

ChatGPT: an everyday tool for education?

Thomas Rid is Professor of Strategic Studies at and a founding director of the Alperovitch Institute for Cybersecurity Studies at Johns Hopkins University School of Advanced International Studies, Washington DC. Recently, he spent five days as a student in a class studying Malware Analysis and Reverse Engineering. The chat.openai.com/chat/-tab was open on most student machines at all times during the course, and they used it in real time to enhance their learning. Formerly “a hardened skeptic of the artificial intelligence hype“, Professor Rid is now convinced that it will transform higher education.

The class saw that ChatGPT had limitations. “To scale it in the classroom we need to better understand its strengths and weaknesses …. It will hallucinate. It will make mistakes. It will perform more poorly the closer you move to the edge of human knowledge. It appears to be weak on some technical questions.” But Rid wrote that “[by] Saturday evening it felt like we had a new superpower“. Rather than talk about plagiarism and cheating, he urges us to engage in a more inspiring conversation: how can artificial intelligence enable the most creative, ambitious and brilliant students – helped by educators – to “push out the edge of human knowledge through cutting-edge research faster and in new ways“? 

ChatGPT: an everyday tool for researchers?

In his podcast A Skeptical Take on the A.I. Revolution Ezra Klein talks with Gary Marcus, emeritus professor of psychology and neural science at New York University. Marcus argues that although ChatGPT seems to produce impressive results, in fact it generates a pastiche of true and false information which it is unable to distinguish between. So, is it not to be trusted?

Some commentators such as New York Times tech columnist Kevin Roose are suggesting that ChatGPT could have value as a “teaching aid …. [which] could unlock student creativity, offer personalized tutoring, and better prepare students to work alongside A.I. systems as adults”. James Pethokoukis takes it further, seeing an upside in “the ability of such language models to aid academic research as a sort of “super research assistant” .

That aspect of ChatGPT is the subject of new research from finance professors Michael Dowling (Dublin City University) and Brian Lucie (Trinity College Dublin). In their paper ChatGPT for (Finance) Research: The Bananarama Conjecture, Dowling and Lucie report how ChatGPT’s output can be made impressively good by using domain experts to guide what it does. That opens up the possibility of using ChatGPT as an e-ResearchAssistant and of it becoming an everyday tool for researchers. It also, of course, opens up debate about authorship and copyright of papers co-authored with ChatGPT.

Conversational interfaces to the web

Today, hardly anyone questions whether to build a mobile-optimized website. A decade from now, we might be saying the same thing about optimizing digital experiences for voice or chat commands. The convenience of a customer experience will be a critical key differentiator. As a result, no one will think twice about optimizing their websites for multiple interaction patterns, including conversational interfaces like voice and chat.

Dries Buytaert expands on this proposition here.

ip webcam

The Android app ip webcam lets you set up a device (phone or tablet) to act as a webcam and stream video and/or audio to your wifi system. You can then connect a web browser to the device’s ip address over the same wifi system in order to view the video stream.

The stream can also be routed to a cloud service in order to be accessed over the internet.