Contents

Course Details

Course Code COMP9319
Course Title Web Data Compression and Search
Convenor Raymond Wong
Classes Lectures :
Tue 19:00 - 21:00 Online Wk 1-5,7-10
Wed 19:00 - 21:00 Online Wk 1-5,7-10

Timetable for all classes
Consultations Consultation time

Units of Credit 6
Course Website http://cse.unsw.edu.au/~cs9319
Handbook Entry http://www.handbook.unsw.edu.au/postgraduate/courses/current/COMP9319.html

Course Summary

As the amount of Web data increases, it is becoming vital to not only be able to search and retrieve this information quickly, but also to store it in a compact manner. This is especially important for mobile devices which are becoming increasingly popular. Without loss of generality, within this course, we assume Web data (excluding media content) will be in XML and its like (e.g., HTML, JSON).

This course aims to introduce the concepts, theories, and algorithmic issues important to Web data compression and search. The course will also introduce the most recent development in various areas of Web data optimization topics, common practice, and its applications. The course is composed of the following parts:

  • Adaptive coding, information theory
  • Text compression (zip, gzip, bzip, etc)
  • Burrows-Wheeler Transform and backward search
  • XML compression
  • Indexing
  • Pattern matching and regular expression search
  • Distributed querying
  • Fast index construction
  • Implementation

If time allows, we may cover optional topics such as: streaming algorithms, text analytics, Web data optimization for mobile devices.The lecture materials will be complemented by two programming assignments and numerous tutorial-type, written exercises.

Assumed Knowledge

Official prerequisite of this course is COMP2521/ COMP1927 / COMP9024, i.e., Data Structures and Algorithms.

Furthermore, at the start of this course students should be able to:

  • understand bit and byte operations in C/C++.
  • write C/C++ code to read from/write to files or memory.
  • produce correct programs in C/C++, i.e., compilation, running, testing, etc.
  • produce readable code with clear documentation.
  • appreciate use of abstraction in computing.

Student Learning Outcomes

After completing this course, students will:

  • have a good understanding of the fundamentals of text compression
  • be introduced to advanced data compression techniques such as those based on Burrows Wheeler Transform
  • have programming experience in Web data compression and optimization
  • have a deep understanding of XML and selected XML processing and optimization techniques
  • understand the advantages and disadvantages of data compression for Web search
  • have a basic understanding of XML distributed query processing
  • appreciate the past, present and future of data compression and Web data optimization

There are two programming assignments and one final exam in the course. Written exercises will also be provided and relate to the fundamentals of data compression. The programming assignments will relate to the applications of Web data compression and search techniques and/or their programming.

This course contributes to the development of the following graduate capabilities:

Graduate Capability Acquired in
Scholars capable of independent and collaborative enquiry, rigorous in their analysis, critique and reflection, and able to innovate by applying their knowledge and skills to the solution of novel as well as routine problems Exercises,
Programming assignments
Entrepreneurial leaders capable of initiating and embracing innovation and change, as well as engaging and enabling others to contribute to change Programming assignments, Class discussions
Professionals capable of ethical, self- directed practice and independent lifelong learning Exercises,
Provided readings
Global citizens who are culturally adept and capable of respecting diversity and acting in a socially just and responsible way Case studies, Class discussions

Teaching Strategies

There are three primary modes of learning for this course: lectures, written exercises, programming assignments.

Lectures

Each week there will be four hours of lectures during which concept/theory, steps, examples and case-studies will be presented. You will get maximum benefits from lectures if you attend the (online) lectures and participate in the (online) discussions during the lectures.

There won't be tutorials in this course for 2020T2, but tutorial-type, written tutorial exercises will be made available. You are expected to work through these yourself. Note: none of these are assessable, but we are assuming that you will be interested enough in the topics to actually do them without the need for assessment-based incentives. It is definitely in your own best interest to keep up-to-date with these exercises. There will be tutor(s) offering regular consultation sessions to help and answer questions regarding these exercises and/or lecture materials. Selected exercise questions, if there are enough requests, will be discussed in the lectures.

You must make use of (a) the discussions during the lectures, (b) consultations, (c) Web forums (for short questions), in order to get your questions answered.

Assignments

There are two programming assignments for this course. They contribute 50% of the overall mark for this course, and are tentatively scheduled as follows:

# Description Due Marks
1 Programming assignment 1 (fundamental) Week 5 15%
2 Programming assignment 2 (compression and search) Week 9 35%

Assignments will be completed individually ; this means that you should do them yourself without assistance from others, except for asking advice from the Lecturer or Tutor. As noted above, assignments are the primary vehicle for learning the material in this course. If you don't do them, or simply copy and submit someone else's work, you have wasted a valuable learning opportunity.

Assignments are to be submitted via "give" before the specified time on the due date. Assessment of assignments will be primarily based on how accurately they satisfy the requirements; this means that most of the mark will be based on automatic marking. However, we may also manually examine submitted assignments to determine (a) whether they are written with good style, (b) how closely they satisfied the requirements, if time allows. Late submissions will have marks deducted from the maximum achievable mark at the rate of roughly 1% of the total mark per hour that they are late (i.e., 24% per day), and no submissions will be accepted after 3 days late.

Teaching Rationale

The learning foci in this course are primarily lectures (introduction, illustration, discussion), written exercises (theoretical knowledge) and programming assignments (practical knowledge). In 2020T2, online consultations will further explain the course materials, go through selected exercise questions, and answer student questions in a small group setting. The course will have an emphasis on the fundamental techniques and their advantages / disadvantages in the context of real applications. Students will learn the main contents of the course through lectures. Written exercises and consultations are available to assist students to obtain in-depth understanding of course materials.

Finally, the primary learning focus in this course are the programming assignments, which have been designed to be challenging and relevant (i.e., aim to strengthen their understanding and develop practical skills on Web data compression and search).

We will be providing some exercises and we expect you will do in your own time.

Naturally, sometimes people will "get stuck" on understanding various aspects of the material, so we have (online) consultations where you can ask questions that can be explained in details. We also have Forums where you can ask short questions that can be precisely explained, and where we can share these Q&As with other students. If you have a problem that has not been addressed in the lectures / can't be handled easily using the Forums, please attend one of the available consultations. Details on how the online consultations run in 2020T2 will be discussed in the first lecture.

Student Conduct

The Student Code of Conduct ( Information , Policy ) sets out what the University expects from students as members of the UNSW community. As well as the learning, teaching and research environment, the University aims to provide an environment that enables students to achieve their full potential and to provide an experience consistent with the University’s values and guiding principles. A condition of enrolment is that students inform themselves of the University’s rules and policies affecting them, and conduct themselves accordingly.

In particular, students have the responsibility to observe standards of equity and respect in dealing with every member of the University community. This applies to all activities on UNSW premises and all external activities related to study and research. This includes behaviour in person as well as behaviour on social media, for example Facebook groups set up for the purpose of discussing UNSW courses or course work. Behaviour that is considered in breach of the Student Code Policy as discriminatory, sexually inappropriate, bullying, harassing, invading another’s privacy or causing any person to fear for their personal safety is serious misconduct and can lead to severe penalties, including suspension or exclusion from UNSW.

If you have any concerns, you may raise them with your Lecturer, or approach the School Ethics Officer , Grievance Officer , or one of the student representatives .

Plagiarism is defined as using the words or ideas of others and presenting them as your own. UNSW and CSE treat plagiarism as academic misconduct, which means that it carries penalties as severe as being excluded from further study at UNSW. There are several on-line sources to help you understand what plagiarism is and how it is dealt with at UNSW:

Make sure that you read and understand these. Ignorance is not accepted as an excuse for plagiarism. In particular, you are also responsible that your assignment files are not accessible by anyone but you by setting the correct permissions in your CSE directory and code repository, if using. Note also that plagiarism includes paying or asking another person to do a piece of work for you and then submitting it as your own work.

UNSW has an ongoing commitment to fostering a culture of learning informed by academic integrity. All UNSW staff and students have a responsibility to adhere to this principle of academic integrity. Plagiarism undermines academic integrity and is not tolerated at UNSW. Plagiarism at UNSW is defined as using the words or ideas of others and passing them off as your own.

If you haven't done so yet, please take the time to read the full text of

The pages below describe the policies and procedures in more detail:

You should also read the following page which describes your rights and responsibilities in the CSE context:

Assessment

There will be two places where your learning in this course will be assessed: assignments and the final exam.

Much as we dislike conflating the learning aspect of assignments with their assessment aspect, there will be marks for the assignment work. We would rather use the assignments entirely as learning vehicles and have no assessment associated with them, but I suspect that wouldn't result in a satisfactory outcome (i.e., nobody would do them).

In addition to the programming assignments, the final exam will also be a major assessment in this course and aims to test what you learned about data compression and search during the course of the semester. To pass this course, you are required to have satisfactory performance on both the programming assignments and the final exam. In order words, you will not be able to pass this subject even you achieve full marks out of all the programming assignments (i.e., a total mark of 50% for the course overall). Similarly, if you do not attempt any programming assignments, you will not pass this subject even you obtain full marks in your final exam. In order to meet the hurdle requirements, you must score better than 40% on both the total assignment performance and the final exam. Note that the hurdle will be enforced after any required scaling. The following formula describes precisely how the final mark will be computed and how the hurdle (satisfactory performance on both the exam and assignments) will be enforced:

a1         = mark for assignment 1      (out of 15)
a2         = mark for assignment 2      (out of 35)
asgts      = a1 + a2                    (out of 50)
exam       = mark for final exam        (out of 50)
okEach     = asgts > 20 && exam > 20    (after scaling)
mark       = a1 + a2 + exam
grade      = HD|DN|CR|PS  if mark >= 50 && okEach
           = FL           if mark <  50 && okEach
           = UF           if !okEach
		

Special Consideration

If your work in this course is affected by unforeseen adverse circumstances, you should apply for Special Consideration. If your request is reasonable and your work has clearly been impacted, then

  • for an assignment, you may be granted an extension
  • for the Final Exam, you may be offered a Supplementary Exam

Note the use of the word "may". None of the above is guaranteed. It depends on you making a convincing case that the circumstances have clearly impacted your ability to work.

UNSW handles special consideration requests centrally (in the Student Lifecycle division), so all special consideration requests must be submitted via the UNSW Special Consideration website.

Special consideration requests must be accompanied by documentation, which will be verified by Student Lifecycle. Do not email the course convenor directly about special consideration.

If you cannot attend the Final Exam because of illness or misadventure, then you must submit a Special Consideration request, with documentation, through MyUNSW within 24 hours of the exam. If your request is reasonable, then you will be awarded a Supplementary Exam

Note that UNSW expects you to be available to sit Supplementary Exams if required. If you are awarded a Supplementary Exam and do not attend, then your exam mark will be zero.

For further details on special consideration, see the UNSW Student website .

If you are registered with Disability Services, please forward your documentation to Course Convenor within the first two weeks of term.

Note that if you attend the exam, but fall ill during it, you most likely will not be awarded a Supp Exam.

Course Schedule

The order that topics are covered in this course is probably not the most "natural order" for presenting them. The material is presented in lectures in an order that ensures that you are best prepared for the assignments.

The following is an approximate guide to the sequence of topics in this course. It is subject to change as the term progresses.

Week Lectures Assignments
1 Introduction, basic information theory, basic compression
2 More basic compression algorithms
3 Adaptive Huffman; Overview of BWT a1 released
4 Pattern matching and regular expression
5 FM index, backward search, compressed BWT a1 due; a2 released
6 -
7 Suffix tree, suffix array, the linear time algorithm
8 XML overview; XML compression
9 Graph compression; Distributed Web query processing a2 due
10 Optional advanced topics; Course Revision




Resources for Students

There will be no textbook used in this course. Lecture slides and supplementary readings will be provided and used.

You may find the readings below useful as reference materials:

  • Managing Gigabytes: Compressing and Indexing. Documents and Images, Second Edition. Ian H. Witten, Alistair Moffat, Timothy C. Bell, Morgan Kaufmann, 1999. (recommended reference, available at the university bookstore)
  • Search Engines: Information Retrieval in Practice. W. Bruce Croft, Donald Metzler, and Trevor Strohman, Pearson Education, 2009.
  • http://www.data-compression.info contains lots of valuable resources on data compression (especially links to readings and useful advice), despite the website's pink color!
  • Data on the Web: from relations to semistructured data and XML. Serge Abiteboul, Peter Buneman, Dan Suciu. Morgan Kaufmann, 2000.

You will also find your previous textbooks on data structures and/or algorithms useful, in case you need to refer to the fundamentals of data structures and algorithms for text processing.

Last but not least, we will heavily refer to the W3C specs on:

Course Evaluation and Development

This course is evaluated each session using MyExperience.

The MyExperience evaluation from the last time I taught this course showed that students were satisfied with all aspects of the course. Thus we maintain the similar style and structure for this term. Since this is the first time that we run this course online, more examples and/or practical discussions will be discussed in the class. Your feedback is particularly important this term and will be considered to improve future offerings of this course (e.g., how much content can be moved online).

Students are also encouraged to provide informal feedback during the semester, and let the lecturer know of any problems, as soon as they arise. Suggestions will be listened to very openly, positively, constructively and thankfully, and every reasonable effort will be made to address them as soon as possible.

Resource created Wednesday 20 May 2020, 08:48:58 PM, last modified Saturday 13 June 2020, 02:40:56 PM.


Back to top

COMP9319 20T2 (Web Data Compression and Search) is powered by WebCMS3
CRICOS Provider No. 00098G